+ 2
What is the output of this code? a = 8 b = 4 c = a/b d = str (c) print (2*d)
ŠÆŠ·ŃŠŗ Python
2 Answers
+ 3
2.02.0
Why?
c=8/4= 2.0
then will be converted to sting and
d = ā2.0ā
and the twice equals to the above mentioned result.
0
ššššš