[solved] – Question 91179
1. What is the result of the expression shown below if x = 56.236?
print(“%.2f”%x)
a)56.00
b)56.24
c)56.23
d)0056.236
2. What is the output of the following?
x = [‘ab’, ‘cd’]
for i in x:
i.upper()
print (x)
a)[‘ab’, ‘cd’]
b)[‘AB’, ‘CD’]
c)[None, None]
d)none of the mentioned
Expert Answer
OR

