What is the output of this code if the user enter '42' as input: age = int(input()) print(age+8) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 4

What is the output of this code if the user enter '42' as input: age = int(input()) print(age+8)

7th Nov 2020, 7:14 AM
Mehar Jaiswal
Mehar Jaiswal - avatar
5 Answers
+ 8
I have answered it 50 in the previous thread and u r replying in this thread. Why?
7th Nov 2020, 7:20 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 6
Why do u post the same question repeatedly. Pls delete this one.
7th Nov 2020, 7:19 AM
Alphin K Sajan
Alphin K Sajan - avatar
0
What is the output of this code if the user enter '42' as input: age = int(input()) print(age+8) %3D
19th May 2021, 5:05 AM
Gfsd Fg
Gfsd Fg - avatar
0
50
8th Sep 2022, 1:00 AM
RYAN MATEO
- 1
answer will be 50 right??
7th Nov 2020, 7:18 AM
Mehar Jaiswal
Mehar Jaiswal - avatar