Python Tip #68 (of 365):

Instead of printing an f-string with a single space between values, consider passing 2 arguments to print

Instead of this:

print(f"User: {name}")

You could do this:

print("User:", name)

Why?

Less syntax. That's all.

#Python #DailyPythonTip

@treyhunner that's a syntax error though, looks like you forgot to close your " 🫠

@bmispelon fixed! 💜

I only had to press the edit button 4 times to fix all the typos...