Skip to content

Commit 62fd88a

Browse files
have been working back and forth test commit, and cya
1 parent c6239ad commit 62fd88a

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

code/muki/lab01.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
# Version 1
44
# using given list for nums = [5, ,0, 8, 3, 4, 1, 6]
5+
# thoughts are to run some loops and print sum functions with some math going on
6+
# i will try to define a function that will do this stuff and use that for version 2
7+
8+
numbahs = [5, 0, 8, 3, 4, 1, 6]
9+
print(numbahs)
10+
print('\n') # trying to make this a little easier to identify
11+
12+
for numbah in numbahs:
13+
print(numbah)
14+
print('\n') # trying to make this a little easier to identify
15+
16+
for i in range(len(numbahs)):
17+
print(numbahs[i])
18+
print('\n') # trying to make this a little easier to identify
19+
print(sum(numbahs)/len(numbahs))
20+
521

6-
def listmean(list):
7-
list

0 commit comments

Comments
 (0)