PYTHON CODE:
Encrypt the input from the shell.
Decrypt the input.
If the temperature is less than 25-degree celsius, print your initial in Green.
If the temperature is between 25 and 30 celsius, print your initial in purple.
Otherwise, print your initials in red.
Upload a screenshot of your output, AND your Python code.
temp = float(input("Enter temperature in celsius: "))
if temp < 25:
print("Green")
elif temp <= 30:
print("purple")
else:
print("red")

PYTHON CODE: Encrypt the input from the shell. Decrypt the input. If the temperature is less...
i need a python code
For an exact conversion between "Fahrenheit temperature scale" and "Celsius temperature scale", the following formulas can be applied. Here, F is the value in Fahrenheit and the value in Celsius: Temperature Conversions C = 5 9 (F - 32) F = (š xc) + 3 Write a Python program that uses the above formula to convert Celsius to Fahrenheit and vice versa. We ask user to input "Enter a degree: ", and then we get...
Modify the scripts of Projects
1 and 2 to encrypt and decrypt entire files of text. An example of
the program interface is shown below:
both images are from one question. I need it in python,
please.
MINDTAP From Cengage Programming Exercise 4.3 decrypt.pyencrypt.py Instructions 1Modify the progran below Modify the scripts of Projects 1 and 2 to encrypt and decrypt entire files of text. 4 Probject 4.1 5 6 Encypts an input string of the ASCII characters and prints...
Use Python to create a function that collects temperature in degree Celsius as input from a user and converts it to degree Fahrenheit. The same function should convert temperature from degree Fahrenheit to degree Celsius if the temperature provided was in degree Fahrenheit. You can use branching (for example, if-else) statements within the body of your function ( Hint: First collect the number, then also collect the unit of temperature so you can use that unit of temperature as a...
Overview Module 3 Assignment 1 features the design of a pseudocode and a Python program that uses iteration to guess a number from 1 to 10. Each lab asks you to write pseudocode that plans the program’s logic before you write the program in Python and to turn in three things: 1) the pseudocode, 2) a screenshot of the output, and 3) the Python program. Instructions Write pseudocode for a Python program that uses iteration to guess a number from...
Hello! I'm looking for help with this assignment. Complete a program in pseudocode and Python that performs the following tasks. Open the file called M4Lab1ii.py linked below these instructions in your M4 Content module in IDLE. Save as M4Lab1ii.py. Replace ii with your initials. [example for someone with the initials cc: M4Lab1cc.py] Complete Steps 1-7 as requested within the code’s comments. Run your program and test all four calculations, then exit the program. Save your program as M4Lab1ii.py using your...
Python 3 Can anyone make my Python code more readable, by breaking up the code into smaller chunks using functions. If a piece of code tries to do several things, it should be broken up into several different functions. print("chatbot: Hello, I am chatbot. What is your name?") name = input("") print("chatbot: Nice to meet you "+name+". Tell me now, what is your age?") age = int(input("")) if age >= 16 and age <= 25: print("We are the same age!...
Hello I just need the code for this GUI thanks
Also computer screenshot of the code will be helpful
Attached is an incomplete Python template file. button_multi_colour_changer_Q.py Download this file and complete it to solve the following problem. Consider the GUI below (4 Labels, 4 colour Buttons and a "RESET" Button) which has been produced with a Python program using the Tkinter library. MULTI Button Colour - a X MULTI Button Colour - O X Violet Purple Blue | Green...
please help
by python compiler
Suppose the temperature of your coffee is 125 degrees Fahrenheit. You want to drink it at 110 degrees. A chip of ice turns out to lower the temperature one degree each time. You test the temperature each time. and also print out the temperature before reducing the temperature. Write a code in python for this. The number of views of a Youtube Channel was increasing in the order of 5.8,13,21,34 for the first 5 days....
In Python: Write a program that determines whether two circles intersect. The input should consist of six numbers, x1, y1, r1 and x2, y2, r2, given as command-line arguments, and representing the center and radius of the two circles. Your program should print True if the two circles intersect, and False otherwise. As a reminder, the two circles intersect if and only if the distance of their two centers is less than or equal to the sum of their two...
+ Run C Code IMPORTANT: • Run the following code cell to create the input file, biostats.csv, which you will be using later. 74, In [ ]: N %%file biostats.csv Name, Sex, Age, Alex, M, 41, Bert, M, 42, Dave, M, 39, Elly, F, 30, Fran, F, 33, Jake, M, F, Luke, M, 34, F Myra, M, M, 38, Ruth, F, 28, 22 22 323 47 47, Height, Weight 170 200 167 70 115 143 139 280 98 75, 350...