0
Python lists
what does "-" do if you put it before an index number such as: bruh = ["Hello", "world"] print(bruh[-0]) i am pretty sure it returns "world" but not quite, tell me if i'm right or wrong please
2 Respuestas
+ 4
negative zero is still zero, so the first element is printed.
+ 2
Mad why don't you open the code playground and try it yourself?