Ask Gemini: "How do I get the first item from a list?"

2 points by abbassix ↗ HN
Gemini fails to print "[0]"!

2 comments

[ 2.9 ms ] story [ 17.6 ms ] thread
Perhaps you query lacks sufficient context.
I got:

  > python
  
  > my_list = ['apple', 'banana', 'cherry']
  > first_item = my_list[0]
  > print(first_item)  # Output: apple
I've probably have been making too many questions about python...