Python Learning – Telegram
Python Learning
5.95K subscribers
512 photos
2 videos
69 files
112 links
Python learning resources

Beginner to advanced Python guides, cheatsheets, books and projects.

For data science, backend and automation.
Join 👉 https://rebrand.ly/bigdatachannels

DMCA: @disclosure_bds
Contact: @mldatascientist
Download Telegram
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
What will be the output of the following Python code?
Anonymous Quiz
20%
0.0 1.0
31%
0 1
38%
error
11%
none
3😁1
Explanation: Object of type float cannot be interpreted as an integer.
What will be the output of the following Python code?
Anonymous Quiz
13%
0.0 1.0
44%
0 1
32%
error
11%
none
2👏1
What will be the output of the following Python code?
Anonymous Quiz
18%
0.0 0.1 0.2 0.3 …
18%
0 1 2 3 …
14%
0.0 1.0 2.0 3.0 …
50%
none
Comment the answer
Hey, I am really happy to see how many of you are trying to give an answer to few previous questions.
So I am wondering, if you would like me to create some kind of python quiz? or maybe even some small coding challenge in which we all can participate?
Forwarded from Free programming books
Please open Telegram to view this post
VIEW IN TELEGRAM
Common Python Performance Issue
Comment your Answer
👍51