Tutorial 7 variable in Python
var1 = "54"var4 = "32"var2 = 4var3 = 36.7# print(100 * str(int(var1) + int(var4)) )# print(100 * "Hello world\n")# print("Enter your number")# inpnum = input()## print("You entered", int(inpnum)+10)"""str()int()float()""" """Quiz - Solved in the videoExercise - Next videoProject - Some awesome python utility"""# print(type(var1)) print("Enter first number") n1 = input() print("Enter second number") n2 = input() print("Sum of these two numbers is", int(n1) + int(n2))
Comments
Post a Comment