it's called 'f string' if you wanna look it up. basically used for formatting strings and combining different data types so you don't need to convert stuff to strings. the syntax is pretty simple f'hi my name is {name var} and Im {age var}'
Did you Google it? From @thedevsrules: For Asking Help: ~ Google first, seriously! ~ Use related group only ~ Do your homework yourself! ~ Don't take photo of code ~ Don't paste long code. Use one of these: - hastebin.com - gist.github.com - codepen.io - jsfiddle.net
Обсуждают сегодня