0

It wont accept the else text +value thing, how could i make it have text then changing value and then text again?

x = 99 if x == 100: print("Your mana is full") else: print("You have"x"mana.")

18th Nov 2019, 1:43 AM
Nikola lazic
Nikola lazic - avatar
2 ответов
+ 6
print("You have", x, "mana.")
18th Nov 2019, 2:28 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Thanks alot :D
18th Nov 2019, 10:07 AM
Nikola lazic
Nikola lazic - avatar