+ 1

What is the output of print(float(eggs)), If spam="7", spam=spam+"0" and eggs=int(spam)+3

4th Dec 2022, 3:20 PM
Mehbu
Mehbu - avatar
5 Answers
+ 2
Try 73.0
4th Dec 2022, 3:22 PM
SoloProg
SoloProg - avatar
+ 2
iirc it should output 73.0
4th Dec 2022, 7:58 PM
Maxfecteau
Maxfecteau - avatar
0
10.0
15th Mar 2023, 1:36 AM
Sohum