Guys please help out | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Guys please help out

x = input("Enter your Digit: ") print ("Output:" eval(x))

30th Jan 2022, 3:43 PM
Kelvin  Sintim 
Kelvin  Sintim  - avatar
2 Answers
+ 1
Separate arguments with commas: print("Output:", eval(x)) Is that what you expected?
30th Jan 2022, 3:49 PM
CGM
CGM - avatar
0
I supose to type in a number then it gives me the output.!
30th Jan 2022, 4:16 PM
Kelvin  Sintim 
Kelvin  Sintim  - avatar