+ 2

What is the output of this code? a = 8 b = 4 c = a/b d = str (c) print (2*d)

Язык Python

11th Oct 2020, 2:34 PM
Аскарова Дильноза
Аскарова Дильноза - avatar
2 Antworten
+ 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.
11th Oct 2020, 2:39 PM
JaScript
JaScript - avatar
0
😊😊😊😊😊
11th Oct 2020, 4:18 PM
Аскарова Дильноза
Аскарова Дильноза - avatar