diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-05-25 17:10:49 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-05-25 17:10:49 +0200 |
| commit | d6c61d988bfa4255baf9cdae42db59ebee38363f (patch) | |
| tree | 118ff3c2424e735149c145524965a4a337e50beb /src/Lecture4/live/live3.py | |
| parent | 46eef66b1e1571c77dc828d7e950b129b4c8bfd0 (diff) | |
| download | mathsoftware-d6c61d988bfa4255baf9cdae42db59ebee38363f.tar.gz mathsoftware-d6c61d988bfa4255baf9cdae42db59ebee38363f.zip | |
Added files
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") | ||
