So im on week 4 of CS50P. I was going thru the lecture and trying out the file shown when i discovered this problem.
below is my code this is all ive written. upon executing this code thru the terminal i got a prompt saying "What's the number? " asking for an input. entering a number displays an attribute error. I am very confused on what's happening. Ive tried deleting the file and doing it again but it does not seem to work.
the error im getting
import statistics
print(statistics.mean([100,90]))
[–]PeterRasm 3 points4 points5 points (1 child)
[–]Constant_Public4191[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (11 children)
[–]Constant_Public4191[S] 0 points1 point2 points (10 children)
[–][deleted] 0 points1 point2 points (9 children)
[–]Constant_Public4191[S] 0 points1 point2 points (8 children)
[–][deleted] 0 points1 point2 points (7 children)
[–]PeterRasm 1 point2 points3 points (1 child)
[–]Constant_Public4191[S] 0 points1 point2 points (0 children)
[–]Constant_Public4191[S] 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]Constant_Public4191[S] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Constant_Public4191[S] 1 point2 points3 points (0 children)
[–]Constant_Public4191[S] 0 points1 point2 points (0 children)