Assignment No 1 XI
Assignment No 1 XI
23.789
23789
True
„True‟
“False”
0xFACE
00213
00789
11. What is the difference between an expression and a statement in Python?
12. Which of the following are syntactically correct strings?
13. What is the error in the following Python program with one statement?
print(“My name is”, name)
14. This code is not giving the desired output. Why?
Number = input("Enter Number")
DoubleTheNumber = Number * 2
print(DoubleTheNumber)
16. Write a program to obtain temperature in Celsius and convert it into Fahrenheit.
(a) int
(b) float
(c) Decimal