SortedCoding
1.2K subscribers
185 photos
38 videos
194 files
140 links
Learn to code with clarity and precision
Download Telegram
Channel created
Which version of python removed the print statement?
Anonymous Quiz
17%
Python 1.x
28%
Python 2.x
33%
Python 3.x
22%
Python 4.x
🔥1
my_list = [1, 2, 3, 4, 5]
result = my_list[-3:-1] print(result)
Anonymous Quiz
35%
A) [3, 4]
24%
B) [2, 3]
35%
C) [3, 4, 5]
6%
D) [1, 2, 3, 4]
🔥1
In Python which of the following is the proper syntax to check if a particular element is present in a list?
Anonymous Quiz
20%
if ele in list
0%
if not ele not list
50%
Both Aand B
30%
None of the above
🔥1