'''Sample Program to get 2 Number inputs '''
Num = input('Enter any Number :')
Num1 = input('Enter any Number :')
Total = Num Num1 #-- --- Concatenates the values
print(Total)
print('Sum :',int(Num) int(Num1))
print('Difference : ',int(Num) - int(Num1))
print('Multiplication : ',int(Num) * int(Num1))
print('Division : ',int(Num) / int(Num1))
print('Modulus : ',int(Num) % int(Num1))
To run python file:
The above is the detailed content of Python Day 1. For more information, please follow other related articles on the PHP Chinese website!