0
Solved Ai generated practice the last question
Slice notation for watermelon [“water, bread, sugar, melon”] [0+3]
2 Antworten
+ 3
the syntax for slicing is [start: stop: step]
when only 2 values are given, it's [start:stop]
you copied the code inaccurately. Strings go between " ".
+ 1
[start : end : step] # or [start : stop : step]
the end or stop is excluded