rage / programming-23

https://programming-23.mooc.fi/
64 stars 24 forks source link

Part 5-2 "Copying a list" example typo #72

Open noswald1 opened 3 months ago

noswald1 commented 3 months ago

In the first example in section "Copying a list" of Part 5-2, the example output doesn't match the example code.

In the code it says: print("the original:", my_list) print("the copy:", new_list)

in the output it says: my_list [1, 2, 3, 3, 5] new_list [10, 2, 3, 3, 5, 6]