biswasrohit20

1

Mar 24th, 2021 (edited)
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. num1 = float(input("Please enter the first number: "))
  2. num2 = float(input("Please enter the second number: "))
  3. print(f'The sum of {num1} and {num2} is {num1 + num2}')
  4. print(f'The product of {num1} and {num2} is {num1 * num2}')
Add Comment
Please, Sign In to add comment