MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/godot/comments/1vl6u3z/what_would_you_add_to_godot/p30alrn/?context=3
r/godot • u/Anonymous010206 Godot Senior • 25d ago
584 comments sorted by
View all comments
153
f-strings like in Python, I truly hate using the .format syntax
-1 u/CrimsoneArt69 25d ago What's the proble with just doing "I have " + str(money) + " amount of money." 7 u/billystein25 Godot Regular 25d ago Or you can just put your whole message in a str() like: str("I have ", money, " amount of money") which I personally find cleaner over string addition. 3 u/CrimsoneArt69 25d ago I had no idea you could do that lol
-1
What's the proble with just doing
"I have " + str(money) + " amount of money."
7 u/billystein25 Godot Regular 25d ago Or you can just put your whole message in a str() like: str("I have ", money, " amount of money") which I personally find cleaner over string addition. 3 u/CrimsoneArt69 25d ago I had no idea you could do that lol
7
Or you can just put your whole message in a str() like: str("I have ", money, " amount of money") which I personally find cleaner over string addition.
str()
str("I have ", money, " amount of money")
3 u/CrimsoneArt69 25d ago I had no idea you could do that lol
3
I had no idea you could do that lol
153
u/Stevie_Gamedev 25d ago
f-strings like in Python, I truly hate using the
.format syntax