📑 Task
1) What will the program print?2) How can you print the elements of the nested list:
the entire list [0, 1, 2] and the character with index 1 of the string 'abc'?
📑 Answer
1) [0, 1, 2] abc - elements of a nested list with indexes 1 and 0b 0 - fragments of these elements list_[0][1] and list[1][0]
2)
No comments:
Post a Comment