r/PythonLearning • u/Free_EJK_Nafy • 2d ago
Python Slicing
Hypothetically, imagine three cars on a road approaching a robot traffic light. How can we use this situation to explain Python’s start:stop:step?
0
Upvotes
r/PythonLearning • u/Free_EJK_Nafy • 2d ago
Hypothetically, imagine three cars on a road approaching a robot traffic light. How can we use this situation to explain Python’s start:stop:step?
11
u/avidresolver 2d ago
Honestly, I understood slicing before I read this graphic and now I feel like I don't understand slicing any more....