diff options
Diffstat (limited to '')
| -rw-r--r-- | src/Lecture4/live/live3.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Lecture4/live/live3.py b/src/Lecture4/live/live3.py new file mode 100644 index 0000000..14aa89b --- /dev/null +++ b/src/Lecture4/live/live3.py | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | x = int(input("Input something: ")) | ||
| 2 | |||
| 3 | A = [1,2,3] | ||
| 4 | |||
| 5 | for i in range(2,9): | ||
| 6 | z = 10**i | ||
| 7 | print("A power of 10:", z) | ||
| 8 | |||
| 9 | print("Bye") | ||
