Skip to content

Instantly share code, notes, and snippets.

@dineshsonachalam
Created September 23, 2018 07:46
Show Gist options
  • Save dineshsonachalam/c35234996769f4ac8fea727f74d123ab to your computer and use it in GitHub Desktop.
Save dineshsonachalam/c35234996769f4ac8fea727f74d123ab to your computer and use it in GitHub Desktop.
# String input
name = input("Enter a name:")
# Integer input
no1 = int(input("Enter a number:"))
# Decimal input
no2 = int(input("Enter a decimal number:"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment