Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num1 = float(input("Please enter the first number: "))
- num2 = float(input("Please enter the second number: "))
- print(f'The sum of {num1} and {num2} is {num1 + num2}')
- print(f'The product of {num1} and {num2} is {num1 * num2}')
Add Comment
Please, Sign In to add comment