Python Learning
5.92K subscribers
428 photos
1 video
59 files
106 links
Python Coding resources, Cheat Sheets & Quizzes! 🧑‍💻

Free courses: @bigdataspecialist

@datascience_bds
@github_repositories_bds
@coding_interview_preparation
@tech_news_bds

DMCA: @disclosure_bds

Contact: @mldatascientist
Download Telegram
Python Lists and tuples
👍81
What will be the output of the following Python code?
Anonymous Quiz
39%
a b c
13%
1 2 3
27%
0 a 1 b 2 c
21%
none
2👏2
What will be the output of the following Python code?
Anonymous Quiz
43%
0 1 2
24%
None None None
25%
error
7%
none of the mentioned
1
What will be the output of the following Python code?
Anonymous Quiz
17%
0 1 2
32%
{0, 1, 2} {0, 1, 2} {0, 1, 2}
28%
error
23%
none
1👍1
Explanation: Variable x takes the values 0, 1 and 2. set.add() returns None which is printed.
What will be the output of the following Python code?
Anonymous Quiz
48%
0
30%
no output
16%
error
7%
none
👍3