Posts by Thiago Bittencourt Coelho • 11 points
1 post
-
1
votes2
answers15185
viewsA: Formatting strings with ". format" and "%"
In the new update there is another option: um = 1 dois = 2 print(f'valor1:{um} valor2:{dois}') #output: valor1:1 valor2:2
pythonanswered Thiago Bittencourt Coelho 11