Skip to content

Instantly share code, notes, and snippets.

@moulik-source
Created October 3, 2021 15:49
Show Gist options
  • Save moulik-source/b884c01d1db63a945b42a372257b7b18 to your computer and use it in GitHub Desktop.
Save moulik-source/b884c01d1db63a945b42a372257b7b18 to your computer and use it in GitHub Desktop.
input function example
num1 = input("Enter the value: ")
num2= input("Enter the value: ")
sum = float(num1) + float(num2)
print("The sum of {0} and {1} is {2}".format(num1, num2, sum))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment