I was trying to make a name input that whenever you type a name it places on the welcome sign of the game. The only problem I am experiencing is that the name I input never has spaces between it, despite that I placed an operator to give it a space
name = input("what is your name:")
print("Welcome to the Casino" + name + "now go play till get broke")
and this is the output result: Welcome to the CasinoMikenow go play till get broke
You could always just add a space after 'Casino' and before 'now'. A better way would be to use an fstring.
For example:
Output:
Edit: Here are a few resources on format string literals: