Use f strings to put variables directly into your strings in MODERN Python. Create an f string by placing f in front of string. Then use curly braces to embed your variables into the string:
f"Hello, {name}"
Nesta página do site você pode assistir ao vídeo on-line Put variables in strings in MODERN Python 🐍 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário ModernPython 11 Janeiro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 88 vezes e gostou 7 espectadores. Boa visualização!