Formatted strings | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Formatted strings

I am using my Python IDLE and when I try to use formatted strings (f” “) it says invalid syntax. Is there any way this can be fixed? Thanks!

5th May 2019, 1:49 AM
Joshua S.
Joshua S. - avatar
1 ответ
+ 4
What version of Python is your IDE running? f-strings are available in Python 3.6+
5th May 2019, 3:47 AM
Diego
Diego - avatar