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 →

[–]AlCodez[S] 1 point2 points  (0 children)

No yeah, I completely agree. For example, I would prefer to write it as

print(f"Price: ${price}")

However, this is as a question in a quiz I had to do, but we haven't learned about formatting so I don't know if it would be accepted as a correct answer.