Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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