From a33d49ac4d1ce554c72770927957a089b4023bf1 Mon Sep 17 00:00:00 2001 From: pants Date: Mon, 21 Sep 2026 14:17:45 -0700 Subject: init --- python/atms-310/test.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 python/atms-310/test.py (limited to 'python/atms-310/test.py') diff --git a/python/atms-310/test.py b/python/atms-310/test.py new file mode 100755 index 0000000..14e900a --- /dev/null +++ b/python/atms-310/test.py @@ -0,0 +1,13 @@ +butt = [1,3,34,69420,"balls"] +for i in range(len(butt)): + butt[i] = butt[i]*10 + print(butt[i]) + +# example of mutating a list, cuz you can do that + +booty = (1,2,3,4,5,"nuts") +for n in range(len(butt)): + booty[n] = booty[n]*12 + print(booty[n]) + +# example of not mutating a tuple, cuz you cant do that \ No newline at end of file -- cgit v1.2.3