Python Program To Subtracts To Numbers Where The Numbers Enter By The User.

Python Program to subtracts two numbers where the numbers enter by the user.

Source Code

# This program subtracts two numbers

# Store input numbers from user

num1 = int(input('Enter first number: '))
num2 = int(input('Enter second number: '))
# Subtract two numbers dif = num1 - num2 # Display the difference
print('The difference between ',num1,' and ',num2,' is ',dif)

Click here to run this code in online        πŸ‘‰πŸ‘‰πŸ‘‰compiler

Click here to get app for android. 

                               πŸ‘‡⤵️    

➡️➡️➡️πŸ‘‰πŸ‘‰πŸ‘‰ πŸ‘ˆπŸ‘ˆπŸ‘ˆ⬅️⬅️⬅️

Output



Create by πŸ…°πŸ†πŸ†„πŸ…½ πŸ…ΊπŸ†„πŸ†‚πŸ…·πŸ††πŸ…°πŸ…·

Follow me on InstagramπŸ‘‰πŸ‘‰➡️➡️
Send Feedback To πŸ‘‡πŸ‘‡⬇️⬇️

Comments