According to Data science topic-7 User input

 # input('Enter email')

# take input from users and store them in a variable

fnum = input('Enter first number')

snum = input('Enter second number')

print(type(fnum), type(snum))

print(fnum,snum)

# add 2 variables

result = fnum + snum

# print the result

Output:

Enter first number45

Enter second number56

45 56

Enter first number56

Enter second number67

56 67

5667

Comments

Popular posts from this blog

According to Data Science Topic-13 Modules

Functions in Python:

According to Data Science Topic-12 If else program examples