Created
August 12, 2016 00:55
-
-
Save awalx/597ce46b26c8db45484199a892709c54 to your computer and use it in GitHub Desktop.
Simple hello world Python 3 program
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#hello.py | |
#Simple hello world Python 3 program | |
#Print 'Hello World' | |
print('Hello There!') | |
#Ask for user's name and take input | |
print('What\'s your name?') | |
myName = input() | |
#Output name provided | |
print('Nice to meet you, ' + myName) | |
#Count and display the amount of charaters in the name | |
print('Your name has, ' + str(len(myName)) + ' characters.') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment