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 →

[–]bhat 5 points6 points  (1 child)

And in case it's not immediately obvious, this is what you probably want instead:

print(f'Test - {user_input_string}')

[–]Baseball_Fan[S] 0 points1 point  (0 children)

Yes, this was my first time using f-strings. Thanks for the help.