Created
February 6, 2017 23:25
-
-
Save shamikalashawn/8b9da4f5c5a85a91486f6428a7cd8d17 to your computer and use it in GitHub Desktop.
A short program that utilizes string formatting to make a few silly sentences.
This file contains 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
age = 31 | |
name = 'Shamika' | |
print('{0} was {1} years old when he wrote this book'.format(name, age)) | |
print('Why is {0} playing with that python?'.format(name)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment