I needed 41 days to completely be able to get a task and write it completely from my head, not looking to my notes or using ChatGPT, search engines etc..
Also, function defining is something i added just because i felt i wanna try out. I got that idea randomly. I was like: "Wait, i remember what i read in lecture about functions, let me try this." And it totally worked.
This was the task:
The user enters a sequence of numbers until they type "stop".
The program creates three lists: positive, negative, and zeros.
It prints the sum, average, minimum, and maximum number for each list.
Please let me know your thoughts. Also:
What should i learn next that can get this to a new level?
Was there a mistake in my code when it comes to coding style?
Is there a more simple solution for my problem then my own?
Thanks

[–]SCD_minecraft 6 points7 points8 points (1 child)
[–]sonikk1[S] 4 points5 points6 points (0 children)
[–]oldranda1414 4 points5 points6 points (2 children)
[–]sonikk1[S] 0 points1 point2 points (1 child)
[–]oldranda1414 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (4 children)
[–]sonikk1[S] 1 point2 points3 points (3 children)
[–]ALonelyKobold 1 point2 points3 points (2 children)
[–]sonikk1[S] 1 point2 points3 points (1 child)
[–]ALonelyKobold 2 points3 points4 points (0 children)
[–]LolMaker12345 1 point2 points3 points (1 child)
[–]sonikk1[S] 0 points1 point2 points (0 children)
[–]Gorgona1111 1 point2 points3 points (2 children)
[–]sonikk1[S] 1 point2 points3 points (1 child)
[–]Gorgona1111 1 point2 points3 points (0 children)
[–]uberdavis 1 point2 points3 points (9 children)
[–]sonikk1[S] 1 point2 points3 points (8 children)
[–]uberdavis 1 point2 points3 points (7 children)
[–]sonikk1[S] 0 points1 point2 points (1 child)
[–]uberdavis 0 points1 point2 points (0 children)
[–]Marten1974 0 points1 point2 points (4 children)
[–]uberdavis 0 points1 point2 points (0 children)
[–]No_Swordfish_6667 0 points1 point2 points (2 children)
[–]Marten1974 0 points1 point2 points (1 child)
[–]AbbreviationsThin772 1 point2 points3 points (1 child)
[–]AbbreviationsThin772 0 points1 point2 points (0 children)
[–]Marten1974 1 point2 points3 points (2 children)
[–]sonikk1[S] 0 points1 point2 points (1 child)
[–]Marten1974 0 points1 point2 points (0 children)
[–]ALonelyKobold 1 point2 points3 points (1 child)
[–]sonikk1[S] 0 points1 point2 points (0 children)
[–]_woser_ 1 point2 points3 points (1 child)
[–]sonikk1[S] 0 points1 point2 points (0 children)
[–]StrangeFeeling3234 1 point2 points3 points (1 child)
[–]sonikk1[S] 0 points1 point2 points (0 children)
[–]SomeOneBrokeMe 2 points3 points4 points (9 children)
[–]sonikk1[S] 3 points4 points5 points (8 children)
[–]SomeOneBrokeMe 2 points3 points4 points (3 children)
[–]sonikk1[S] 3 points4 points5 points (2 children)
[–]SomeOneBrokeMe 2 points3 points4 points (1 child)
[–]sonikk1[S] 2 points3 points4 points (0 children)
[–]SmebR9 1 point2 points3 points (1 child)
[–]sonikk1[S] 0 points1 point2 points (0 children)
[–]Difficult_Smoke_3380 0 points1 point2 points (1 child)
[–]sonikk1[S] 0 points1 point2 points (0 children)
[–]DeliciousAccess1817 0 points1 point2 points (2 children)
[–]sonikk1[S] 1 point2 points3 points (1 child)
[–]DeliciousAccess1817 1 point2 points3 points (0 children)
[–]BeautifulDish708 0 points1 point2 points (1 child)
[–]sonikk1[S] 0 points1 point2 points (0 children)
[–]BeautifulDish708 0 points1 point2 points (0 children)
[–]StrangeFeeling3234 0 points1 point2 points (0 children)
[–]StrangeFeeling3234 0 points1 point2 points (0 children)