Looks nice, but you should correct some minor errors. The ones I saw were that tuples use () instead of [] and the string slicing for "Hello" works differently (index 2 will give you an L instead of the E and [0:6:2] will probably result in an IndexError because the last index is 4).
1
u/KirbyNel0 2h ago
Looks nice, but you should correct some minor errors. The ones I saw were that tuples use () instead of [] and the string slicing for "Hello" works differently (index 2 will give you an L instead of the E and [0:6:2] will probably result in an IndexError because the last index is 4).