1.4k views
1 vote
What is the output of the following code:

lang=
['Python','C','C++, JAVA,ASP'PHP',VB', Oracle
'MySQL)
list1 = lang(2:-2]
list2 = langl-2:-5)
list3 = langl: : 3]
print(list)
print(list)
print(list3)​

User Temima
by
4.1k points

1 Answer

4 votes

Answer:

Syntax error.

Step-by-step explanation:

There are many typing mistakes in this source code.

User Kayvan Karim
by
4.5k points