0

Why do we need linear and binary search in python if I can work with say if 120 in range(0,1000):\nprint('f')\nelse:\npass

Please explain in layman's term.I am a beginner.

17th May 2020, 1:52 PM
swaggy tarret
1 Réponse
+ 2
swaggy tarret can you show us an example of your code?
17th May 2020, 3:35 PM
Petr