Created
November 2, 2019 14:53
-
-
Save sojohnnysaid/390803432fa9e7b392f430240d2f106c to your computer and use it in GitHub Desktop.
Python using the end argument in a string
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
# Print any number of question marks | |
def main(): | |
names = ['john', 'cassie', 'nori'] | |
for name in names: | |
print(f"{name}",end=" is awesome!") | |
print() | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment