What is the output of following list
L1=[1,2,3]
L2=[“Krishna”]
1. L1+L2
2. L2*5
Answers
Answered by
3
Explanation:
print(list_1[0][1][1]) //print total value. Explanation: In the given python code an empty list "list_1" is declared, in the next line, the append method is used. This method is used to adds the content at both the end of the items, in this list we add an add tuple and numbers.
Similar questions
Biology,
2 months ago
Math,
2 months ago
Social Sciences,
4 months ago
History,
4 months ago
English,
10 months ago
Accountancy,
10 months ago