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? πŸ€”πŸ§ πŸ–₯️

--> 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
What will be the output of the following Python code snippet? πŸ–₯οΈπŸ§ πŸ€”

for i in [1, 2, 3, 4][::-1]: print (i)
Anonymous Quiz
70%
4 3 2 1
10%
2 3 1 4
12%
1 2 3 4
8%
None of the above
What is output of the following 🧠πŸ–₯οΈπŸ€”
--> print(math.pow(3, 2))?
Anonymous Quiz
61%
9
9%
None
23%
9.0
7%
Error
What is the maximum possible length of an identifier in Python?🧠πŸ–₯οΈπŸ€”
Anonymous Quiz
25%
79 characters
19%
31 characters
10%
23 characters
46%
Unlimited
Which of the following Python statements will result in the output: 6? πŸ–₯οΈπŸ§ πŸ€”

A = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
Anonymous Quiz
10%
A[2][1]
50%
A[1][2]
33%
A[2][3]
7%
A[3][2]
Which of the following is correctly evaluated for this function?πŸ€”πŸ–₯️🧠

pow(x,y,z)
Anonymous Quiz
35%
(x**y) / z
22%
(x / y) * z
32%
(x**y) % z
10%
(x / y) / z
Suppose you are given a set(s1={1,2,3}) then what is the output for the code ?🧠πŸ–₯οΈπŸ€”

--> 2 * s1?
Anonymous Quiz
19%
(1,1,2,2,3,3)
14%
[1,1,2,2,3,3]
39%
Error
28%
(1,2,3,1,2,3)
What error will occur when you execute the following code? πŸ–₯οΈπŸ€”πŸ§ 

--> MANGO = APPLE
Anonymous Quiz
28%
NameError
34%
SyntaxError
18%
TypeError
21%
ValueError
What will be the output of this statement? πŸ–₯οΈπŸ€”πŸ§ 

--> print(0xA + 0xB + 0xC)
Anonymous Quiz
9%
63
21%
33
35%
None
34%
0xA + 0xB + 0xC
What will be the output of this statement? πŸ€”πŸ§ πŸ–₯️
--> print(ord('h') - ord('z'))
Anonymous Quiz
21%
18
53%
-18
17%
17
9%
-17
What happens when '2' == 2 is executed? 🧠πŸ–₯οΈπŸ€”
Anonymous Quiz
42%
False
25%
True
24%
Value error
9%
Tupe error
Your dream career is just a few steps away!🧠

πŸ˜±β€’ Get upto 100% Scholarship on India's highest rated coding courses!

πŸ’»β€’ Learn C++, Java, Python, Web Dev, Data Science and other highly sought after skills from IIT and Stanford Alumni.

πŸš€β€’ Get Interview preparation book & Christmas hampers wirth Rs. 2000 for free on course enrollment!

Apply Now : https://bit.ly/3GXAGDV

Use code : INSTA50 to get 50% off and then you have to pay only Rs. 48, not even $1 & Rs 50πŸ˜³πŸš€
Which of the following is the correct statement? πŸ§ πŸ€”πŸ–₯️
--> z = {"x":0, "y":1}
Anonymous Quiz
9%
x dictionary z is created
33%
x and y are the keys of dictionary z
13%
0 and 1 are the values of dictionary z
46%
All of the above
Suppose we are given with two sets(s1&s2) then what is the output of the code βˆ’ πŸ–₯οΈπŸ€”πŸ§ 

--> S1 + S2
Anonymous Quiz
25%
Illegal Command
16%
Output will be stored in S1
32%
Adds the elements of both the sets
27%
Removes the repeating elements and adds the both the sets
What will be the output of this program? 🧠πŸ–₯οΈπŸ€”
--> print(True ** False / True)
Anonymous Quiz
20%
True ** False / True
35%
1.0
18%
1 ** 0 / 1
26%
None of these
What will be the output of this program? πŸ§ πŸ€”πŸ–₯️
--> int1 = 0b0010
print(int1)
Anonymous Quiz
32%
0b0010
30%
2
23%
NameError: name '0b0010' is not defined
14%
SyntaxError
Forwarded from Servant of God!
Data Structures.pdf
16.9 MB
I am sharing 'Data Structures' with you
What will be the output of this program?🧠πŸ–₯οΈπŸ€”
--> print(6 + 5 - 4 * 3 / 2 % 1)
Anonymous Quiz
13%
7
31%
7.0
13%
15
43%
11.0