What will be the output of this code? a=float("123"*int(input("Enter a number:"))) Enter a number:2 print(a) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

What will be the output of this code? a=float("123"*int(input("Enter a number:"))) Enter a number:2 print(a)

Python

9th May 2020, 9:41 AM
Rohit tahiliani
Rohit tahiliani - avatar
3 Answers
0
Is this a quiz or a serious question? May be you will try to run it in playground?
9th May 2020, 10:34 AM
Lothar
Lothar - avatar
0
Ohhk..and thanks😎😎
10th May 2020, 11:40 AM
Rohit tahiliani
Rohit tahiliani - avatar
0
9th Jan 2021, 5:58 AM
Veerabathini Akshay
Veerabathini Akshay - avatar