World's Best AI Learning Platform with profoundly Demanding Certification Programs
Designed by IITian's, only for AI Learners.
Download our e-book of Introduction To Python
4 (4,001 Ratings)
218 Learners
Shashank Shanu
5 months ago
x = input('Enter your name:')
print('Hello, ' + x)
>>> num
= input('Enter a number: ')
Enter a number:
10
>>> num
'10'
>>> int('10')
10
>>> float('10')
10.0