Suppose you are given a set(s1={1,2,3}) then what is the output for the code ?π§ π₯οΈπ€
--> 2 * s1?
--> 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
--> MANGO = APPLE
Anonymous Quiz
28%
NameError
34%
SyntaxError
18%
TypeError
21%
ValueError
What will be the output of this statement? π₯οΈπ€π§
--> print(0xA + 0xB + 0xC)
--> 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'))
--> 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π³π
π±β’ 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}
--> 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
--> 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)
--> 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)
--> int1 = 0b0010
print(int1)
Anonymous Quiz
32%
0b0010
30%
2
23%
NameError: name '0b0010' is not defined
14%
SyntaxError
What will be the output of this program?π§ π₯οΈπ€
--> print(6 + 5 - 4 * 3 / 2 % 1)
--> print(6 + 5 - 4 * 3 / 2 % 1)
Anonymous Quiz
13%
7
31%
7.0
13%
15
43%
11.0
What will be the output of the following code snippet? π₯οΈπ€π§
--> print(2**3 + (5 + 6)**(1 + 1))
--> print(2**3 + (5 + 6)**(1 + 1))
Anonymous Quiz
64%
129
8%
8
14%
121
14%
None of the above
What will be the output of this program? -- print(int(6 == 6.0) * 3 + 4 % 5) π»π€π§
Anonymous Quiz
19%
22
28%
18
15%
20
38%
7
What will be the output of this program?π§ π₯οΈπ€
--> print(max("zoo 145 com"))
--> print(max("zoo 145 com"))
Anonymous Quiz
30%
142
21%
122
9%
a
39%
z
What will be the output of this program ?π€π§ π₯οΈ
--> print("java", 'point', sep='2')
--> print("java", 'point', sep='2')
Anonymous Quiz
35%
javapoint2
10%
japoint
49%
java2point
5%
javapoin2
What will be the output of the following code snippet?π₯οΈπ§ π€
a = [1, 2] print(a * 3)
a = [1, 2] print(a * 3)
Anonymous Quiz
23%
Error
6%
[1,2]
6%
[1,2,1,2]
65%
[1,2,1,2,1,2]
What will be the output of the following code snippet?π€π₯οΈπ§
-> s = {1, 2, 3, 3, 2, 4, 5, 5} print(s)
-> s = {1, 2, 3, 3, 2, 4, 5, 5} print(s)
Anonymous Quiz
32%
{1,2,2,3,3,4,5,5}
53%
{1,2,3,4,5}
4%
{1,5}
12%
None of the above
Hello Friends, do you want paid Internship with stipend upto Rs. 15k or $200 per month?π€π§
Then Register here: https://bit.ly/34zUjnQ
Then Register here: https://bit.ly/34zUjnQ
Guys this don't take this lightly, its a Golden opportunity & also you will be getting Free Amazon Voucher worth Rs. 1000!π±