Python Hub
19.9K subscribers
80 photos
6 videos
14 files
207 links
πŸ’¬admin @LinuxTeachπŸ’¬
πŸ‘‡ Free access to πŸ‘‡
1. Python Developer courses and Jobs
2. Machine Learning courses and Jobs
3. Direct Internship opportunities
4. Python free courses
πŸ‘‡ Python Handwritten Notes πŸ‘‡
https://linktr.ee/python.hub
Download Telegram
Python supports the creation of anonymous functions at runtime, using a construct called __________πŸ€”πŸ–₯️🧠
Anonymous Quiz
14%
pi
23%
anonymous
57%
lambda
5%
none of the mentioned
What will be the output of the following Python code?πŸ€”πŸ–₯️🧠
print(0xA + 0xB + 0xC)
Anonymous Quiz
29%
0xA0xB0xC
36%
Error
12%
0x22
23%
33
What will be the output of the following Python code?πŸ€”πŸ–₯️🧠
>>>example = "snow world"
>>>example[3] = 's' >>>print example
Anonymous Quiz
15%
snow
31%
snow world
53%
Error
What will be the output of the following Python code?πŸ€”πŸ–₯️🧠

True = False while True: print(True) break
Anonymous Quiz
26%
True
33%
False
23%
None
18%
none of the mentioned
What will be the output of the following Python code?πŸ€”πŸ–₯️🧠
x = ['ab', 'cd']
for i in x: i.upper() print(x)
Anonymous Quiz
14%
[β€˜ab’, β€˜cd’] 
67%
[β€˜AB’, β€˜CD’] 
9%
[None, None] 
10%
none of the mentioned
What is the maximum possible length of an identifier in Python?πŸ€”πŸ–₯️🧠
Anonymous Quiz
25%
79 characters
16%
31 characters
22%
63 characters
36%
none of the mentioned
Which function is called when the following Python program is executed?πŸ€”πŸ–₯️🧠
f = foo()
format(f)
Anonymous Quiz
17%
str()
47%
format()
15%
__str__()
21%
__format__()
What will be the output of the following Python code snippet?πŸ€”πŸ–₯️🧠
x = 'abcd'
for i in range(len(x)): print(x) x = 'a'
Anonymous Quiz
13%
a
35%
abcd abcd abcd abcd
30%
a a a a
21%
none of the mentioned
What will be the output of the following Python code?πŸ€”πŸ–₯️🧠
i = 0
while i < 3: print(i) i += 1 else: print(0)
Anonymous Quiz
19%
0 1 2 3 0
35%
0 1 2 0
32%
0 1 2
15%
error
Channel name was changed to Β«Python ScienceΒ»
What will be the output of the following Python code?πŸ€”πŸ–₯️🧠
for i in range(int(2.0)):
print(i)
Anonymous Quiz
19%
0.0 1.0
46%
0 1
24%
error
11%
none of the mentioned
My friends, are you a final year student or just graduated?πŸ€”

Join Coding Ninjas pay after placement program. Learn Coding for free & pay only if you get job of Salary Rs. 7-20 Lakh!πŸš€

Take one step ahead to join your dream companies like Amazon, Google & Microsoft!🧠

100% Job Gurantee!😱

Register for freeπŸ‘‡

https://bit.ly/36FOk1q
Is the output of the function abs() the same as that of the function math.fabs()?πŸ€”πŸ–₯️🧠
Anonymous Quiz
39%
sometimes
27%
always
23%
never
10%
none of the mentioned
What will be the output of the following Python code?πŸ€”πŸ–₯️🧠
x = "abcdef"
while i in x: print(i, end=" ")
Anonymous Quiz
51%
a b c d e f
18%
abcdef
12%
i i i i i i …
19%
error
What will be the output of the following Python code?πŸ€”πŸ–₯️🧠
for i in range(int(float('inf'))):
print (i)
Anonymous Quiz
18%
0.0 0.1 0.2 0.3 …
22%
0 1 2 3 …
15%
0.0 1.0 2.0 3.0 …
45%
none of the mentioned