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
What will be the output of the following Python code snippet?πŸ€”πŸ–₯️🧠
for i in [1, 2, 3, 4][::-1]: print (i)
Anonymous Quiz
63%
4 3 2 1
15%
error
14%
1 2 3 4
8%
none of the mentioned
What will be the output of the following Python function?πŸ€”πŸ–₯️🧠
len(["hello",2, 4, 6])
Anonymous Quiz
24%
Error
9%
6
57%
4
10%
3
What will be the output of the following Python code?πŸ€”πŸ–₯️🧠
x = 'abcd'
for i in range(len(x)): print(i)
Anonymous Quiz
14%
error
21%
1 2 3 4
29%
a b c d
36%
0 1 2 3
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