0
Python introduction to programming
Given a list =[102,343,'que',2.2,50], what would be output of print(list[0:2]) .
4 Respostas
+ 4
Lawrence Hunter you could literally test this on sololearn playground
+ 2
you should complete Python Basic Course. QA should be consulted when you're in trouble not to test others skills by asking question you know answers of.
0
[0:2] returns the first two elements of the list, starting at 0
Output:
[102, 343]
0
thanks@steppenwolf
am new to programing how did u come up with the answers☺