Posts by João Gustavo • 13 points
2 posts
-
0
votes2
answers60
viewsA: Is there any way to use methods within other python methods?
Our guy I used these new ways and it worked really well for me! Thanks too much, by the way I’d also like to know if I could, what would be the cleanest and least cumbersome way to use the code: (to…
-
0
votes2
answers60
viewsQ: Is there any way to use methods within other python methods?
I wonder if in Python it is possible to create a loop for within a format()? Example #Considerando: z=(1,2,3,4) print(f'''os números pares foram { for i%2==0 in z: print(i,end='são números pares')…