everyone.
I’m trying to use an f-string on PyCharm and, while it does work, it returns an unknown icon. It doesn’t give me a warning either, so I know it’s working. I’ve tested the same code on Sublime Text and it works just fine. Can anyone explain why it prints this icon?
This is the code. (https://i.sstatic.net/4hPuRbYL.png)
This is what it returns. (https://i.sstatic.net/82j1an6T.png)
Thank you!
print(f"nYou are in the {current_room}.")
New contributor
Magnus Xavier is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.