Xi Assignment - Python Fundamentals
Xi Assignment - Python Fundamentals
4. Write a program To Accept Marks in Three Subjects and Print It’s Total
and Average.
12 Write a program to print the ‘memory address‘ and “Data type “of a
number accepted from the user.
a,b=10
a) a=10 and b=10 b) a=10 and b=0
c) a=0 and b=10 d) The given statement is
incorrect
5. What will be the values of aand b after execution of the following code
segment:
a,b=1,2
a*=a+b
b//=a-b
a) a=2 and b=3 b) a=2 and b=2
c) a=3 and b=3 d) a=3 and b=2
6. What is the value of the following expression?
int(12.8)
a) 12 b) 13
c) 12.8 d) Error