Python Resources - Basic Python, ML, DataScience, BigData
2.41K subscribers
14 photos
3 files
243 links
You can find all kinds of resources related to Python, ML, DataScience and BigData.
Resources — »»» @python_resources_iGnani
Projects — »»» @python_projects_repository
Questions— »»» @python_interview_questions
Forum — »»» @python_programmers_club
Download Telegram
Forwarded from Python Questions
print("""A
B
C """=="A\nB\nC\n") #What is the output
Anonymous Poll
26%
True
23%
False
20%
Error
10%
ABC
21%
Invalid Statement
Forwarded from Python Questions
x, y, z = 5, 10, 15
z = x <= y #What is the value of z?
Explain why your answer is correct!!!
Anonymous Poll
8%
5
13%
15
42%
True
17%
False
20%
Error in statement
Forwarded from Python Questions
"=".join(['1', '2', '4', '8', '16']) #what is the output. Explain Why?
Anonymous Poll
18%
1, 2, 4, 8, 16
3%
1, 2, 4, 8, 16, 32
47%
1=2=4=8=16
10%
1=2=4=8=16=32
21%
Syntax Error
Forwarded from Python Questions
def foo(x = 10, y = 15):
return(x + y, x - y)
x, y = foo(y = 20, x = 15) print(x, y) #What is the output of the following code?
Anonymous Quiz
33%
Error - arguments order
49%
35 -5
13%
35 30
5%
30 30
Forwarded from Python Questions
y, z = 10, 15;
b = c = 0;
b = y - y + z; y -= (y + z); #What is the value of b & y respectively? Please Explain?
Anonymous Quiz
18%
15, 15
46%
15, -15
11%
-15, 15
14%
Error
10%
Show me the answer
Forwarded from Python Questions
print('abcefd'.replace('cd', '12'))

#What is the output of the above code?
Anonymous Quiz
28%
ab1ef2
14%
ab12ef12
4%
ab1efd
3%
abcef2
22%
abcefd
21%
None of the above
7%
Show me the answer
Forwarded from Python Questions
print("abbcabcacabb".count('abb', 2, 11))

#What is the output of the above statement? Explain this statement?
Anonymous Quiz
27%
2
23%
1
14%
0
21%
Error
14%
Show me the answer
Forwarded from Python Questions
print('xy'.isalpha())

#What is the output of the above code?
Anonymous Quiz
8%
xy
51%
True
21%
False
10%
xy.isalpha
4%
Error
6%
Show me the answer
Forwarded from Python Questions
x = (round(4.5) - round(-4.5))

#What is the value of x
Anonymous Quiz
35%
0
28%
9
8%
-9
16%
8
2%
-8
4%
None of the Above
7%
Show me the answer
Forwarded from Python Questions
print('iGnani'.translate({'i': '1', 'G': '2', 'n': '3', 'a': '4', 'i': '5'}))

#What is the output. Explain translate()
Anonymous Quiz
39%
123435
20%
12345
16%
iGnani
9%
Error
5%
None of the above
12%
Show me the answer