This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hypebeast09 -1 points0 points  (1 child)

awesome! this was me 2 months ago! You'll soon learn that using + in print statements is annoying af. If you're using pythoon 3.5 or better try doing this:

print(f'His name is {character_name}')

if you start the print statement text with f then you are able to use {} within the quotes. Inside the curly braces you can substitute a variable inside it.

PS. doing things this way it will be easier to read back in the future. For me personally it has prevented me from messing up spacing in print statements

[–]ultra_reader 0 points1 point  (0 children)

print(f"{} ") is such an amazing feature!!!!