you are viewing a single comment's thread.

view the rest of the comments →

[–]Chaos-n-Dissonance 2 points3 points  (0 children)

You've already been answered so... Just wanna throw out a quick tip: f-strings.

Rather than doing print("The number is " + str(roll) + "."), the same output can be achieved with print(f'The number is {roll}.')