Python Hub
19.3K subscribers
83 photos
6 videos
14 files
210 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
okay friends, let us try something more
What will be the output of the following Python code snippet if x=1?,๐Ÿ–ฅ๏ธ๐Ÿค”
x << 2
Anonymous Quiz
24%
2
46%
1
25%
4
5%
8
Channel name was changed to ยซPythonHubยป
Channel name was changed to ยซPython.Hubยป
What will be the output of this function?
>> round (4.576)
Anonymous Quiz
25%
4
49%
5
8%
576
18%
4.6
What are the values of the following Python expressions?๐Ÿง ๐Ÿค”๐Ÿ–ฅ๏ธ

>> 2**(3**2) >>(2**3)**2 >> 2**3**2
Anonymous Quiz
44%
512,64,512
35%
512,512,512
13%
64,512,64
9%
64,64,64
Hello Guys...
Good morning....
Here is the latest Python Notes for Professionals :
What will be the output of the following Python function? ๐Ÿง ๐Ÿค”๐Ÿ–ฅ๏ธ
--> min(max(False,-3,-4), 2,7)
Anonymous Quiz
10%
-4
20%
-3
17%
2
52%
False
What will be the output of the following Python code?๐Ÿง ๐Ÿค”๐Ÿ–ฅ๏ธ
--> l=[1, 0, 2, 0, 'hello', '', []]
list(filter(bool, l))
Anonymous Quiz
17%
[1, 0, 2, โ€˜helloโ€™, โ€, []]
40%
Error
26%
[1, 2, โ€˜helloโ€™]
16%
[1, 0, 2, 0, โ€˜helloโ€™, โ€, []]
What will be the output of the following Python function?๐Ÿ–ฅ๏ธ๐Ÿง ๐Ÿค”

--> len(["hello",2, 4, 6])
Anonymous Quiz
7%
6
26%
Error
58%
4
9%
3
What will be the output of the following Python code? ๐Ÿง ๐Ÿ–ฅ๏ธ๐Ÿค”

--> print("Hello {0[0]} and {0[1]}".format(('foo', 'bin')))
Anonymous Quiz
24%
Hello (โ€˜fooโ€™, โ€˜binโ€™) and (โ€˜fooโ€™, โ€˜binโ€™)
19%
Error
46%
Hello foo and bin
10%
None of the mentioned
Happy New year ๐ŸŽ‰friends
Grateful for every day of the last year, and excited for each day ahead.. Wish You A Happy New Year..* Welcome To 2022 *
What will be the output of the following Python code? ๐Ÿค”๐Ÿง ๐Ÿ–ฅ๏ธ

--> print("abc. DEF".capitalize())
Anonymous Quiz
13%
Abc. def
7%
abc. def
23%
Abc. Def
57%
ABC DEF
What will be the output of the following Python statement?

>>> "a"+"bc"
Anonymous Quiz
3%
bc
91%
abc
2%
b
3%
bca
What will be the output of the following Python code snippet? ๐Ÿ–ฅ๏ธ๐Ÿง ๐Ÿค”

z=set('abc$de') 'a' in z
Anonymous Quiz
29%
error
52%
True
13%
False
6%
None of the above