Ask Gemini: "How do I get the first item from a list?" 2 points by abbassix 2mo ago ↗ HN Gemini fails to print "[0]"!
[–] gus_massa 2mo ago ↗ 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...
2 comments
[ 2.9 ms ] story [ 17.6 ms ] thread