Module 4 - Section 0 - Repeat, repeat, repeat!
4.0.2 - Items in a list
When we created a list of 20 different numbers (kino) in previous lesson (3.2.5) we asked you if the numbers in the list were unique. The answer is NO because when we add random numbers we can add more than once the same number.
So if you have saved the kino program open it or else go to 3.2.5, copy the code from there and save it as kino.
After executing the code look at the output find a number and write the commands as in the picture.
With in command we can search inside a list.
Copy and paste the following code to Thonny and save it as kino2 :
Compare it with the previous code of kino program. Are there 20 unique numbers now?