Python Learning
5.92K subscribers
420 photos
1 video
57 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
#PyQuiz

What does None==0 return?
Anonymous Quiz
27%
True
47%
False
22%
Error
4%
Depends
#PyQuiz

How many values can a return statement rerurn?
Anonymous Quiz
40%
Only one
18%
One tuple max
34%
Any number
9%
One list only
#PyQuiz

What is the type of type in Python?
Anonymous Quiz
37%
type
22%
class
29%
object
12%
meta
1
#PyQuiz

What's the output of bool('False')?
Anonymous Quiz
39%
True
42%
False
6%
None
13%
Error
#PyQuiz

What's the result of len(set("hello"))?
Anonymous Quiz
45%
5
35%
4
3%
3
16%
Error
#PyQuiz

Which is faster: list() or [ ]?
Anonymous Quiz
30%
list()
47%
[ ]
6%
Same speed
17%
Depends on list size
#PyQuiz

Which of these is NOT a valid Python data type?
Anonymous Quiz
16%
set
12%
dict
60%
array
12%
tuple
#PyQuiz

What does range(5)[-1] return?
Anonymous Quiz
14%
5
50%
4
14%
-1
21%
Error
3