Skip to content

Instantly share code, notes, and snippets.

@sojohnnysaid
Created November 2, 2019 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sojohnnysaid/390803432fa9e7b392f430240d2f106c to your computer and use it in GitHub Desktop.
Save sojohnnysaid/390803432fa9e7b392f430240d2f106c to your computer and use it in GitHub Desktop.
Python using the end argument in a string
# 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