Skip to content

Commit 0491d21

Browse files
committed
My new file
1 parent c2121aa commit 0491d21

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

loop_printing_count.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#In that example, we also show off how to “string interpolation” in Python 3 by prefixing a string literal with an f and then using curly braces to substitute in variables or expressions (in this case the count value).
2+
3+
#!/usr/bin/env python3.6
4+
count = 1
5+
while count < 10:
6+
print(f"Feio {count}")
7+
count += 1

0 commit comments

Comments
 (0)