You are on page 1of 1

ALKA FERRIAN – 1201303194

1) Write an if statement that asks for the user's name via input () function. If the name is
"Bond" make it print "Welcome on board 007." Otherwise make it print "Good morning
NAME". (Replace Name with user's name)

2) Write a function named "evens" which returns True if a number is even and otherwise
returns False.

3) Write a function named "thedecimal" which returns the decimal part of a number. If
decimal part is zero function should return this string: "INTEGER".

4) Write a Python program to convert temperatures to and from celsius, fahrenheit.

You might also like