commit d728587a96098a9f7caac9ecb6c0cf6725f9900e Author: Benjamin Adovasio Date: Thu Jan 15 22:59:07 2026 -0500 Initial upload of comp sci work diff --git a/Day 1.py b/Day 1.py new file mode 100644 index 0000000..885e3be --- /dev/null +++ b/Day 1.py @@ -0,0 +1,19 @@ +def addInts(num: int) -> int: + total = 0 + for i in range(num): + total += (i+1) + return total + +#addInts(5) + +import random +def listOfRandomStrings() -> list[str]: + new_list = [] + num_items = random,randint(1,5) + for i in range(num_items): + string = randomString() + new_list.append(string) + return new_list + + +