Write a short program that will perform the following:It will ask the user for
his age,it will then present the user with a menu, with 4 choices:Tell the user
whether his age is an even or an odd number
Tell the user his age squared
Tell the user how many years until he’s 100 years old, or tell
Write two functions that will convert temperatures
back and forth from the Celsius and Fahrenheit temperature scales (using
raw_input)
def C_F(x):
y = (x-32)*(5.0/9)
print y
def F_C(x):
y = (x*9.0/5)+32
print y
I have created the two functions but I don’t know what to do from he
Write a code that will take an input from a user (numerical grade) and convert
their numerical grade into a letter grade that is accompanied by a “smart”
statement. def grade_score(grade):
if grade >=95 and grade <= 100:
print 'A+, Excellent'
elif grade >=85 and grade < 95: