What will be the output of the following Python code
Anonymous Quiz
39%
224
26%
Error
24%
12
10%
None
π3
What will be the output of the following Python code?
>>>max("what are you")
>>>max("what are you")
Anonymous Quiz
57%
Error
21%
u
5%
t
17%
y
β€7π2
π5β€2
π3
β€2
To concatenate two strings to a third what statements are applicable?
Anonymous Quiz
14%
s3 = s1 . s2
50%
s3 = s1.add(s2)
21%
s3 = s1.__add__(s2)
15%
s3 = s1 * s2
Which of the following statement prints hello\example\test.txt?
Anonymous Quiz
48%
print(βhello\example\test.txtβ)
35%
print(βhello\\example\\test.txtβ)
9%
print(βhello\βexample\βtest.txtβ)
8%
print(βhelloβ\exampleβ\test.txtβ)
π7π1
Suppose s is β\t\tWorld\nβ, what is s.strip()?
Anonymous Quiz
13%
\t\tWorld\n
18%
\t\tWorld\n
10%
\t\tWORLD\n
59%
World
π7
The format function, when applied on a string returns ___________
Anonymous Quiz
24%
Error
10%
int
13%
bool
54%
str
β€3π3π1
What will be the output of the βhelloβ +1+2+3?
Anonymous Quiz
43%
hello123
19%
hello6
5%
hello
34%
Error
β€4π1
What will be displayed by print(ord(βbβ) β ord(βaβ))?
Anonymous Quiz
23%
0
50%
1
22%
-1
5%
2
β€1
Say s=βhelloβ what will be the return value of type(s)?
Anonymous Quiz
6%
int
5%
bool
53%
str
35%
String
β€4π2
30-Days-Of-Python
30 days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than100 days, follow your own pace.
Creator: Asabeneh
Stars βοΈ: 33.2k
Forked By: 6.7k
https://github.com/Azure/azure-sdk-for-python
#python #azure
ββββββββββ
Join @python_bds for more cool data science materials.
*This channel belongs to @bigdataspecialist group
30 days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than100 days, follow your own pace.
Creator: Asabeneh
Stars βοΈ: 33.2k
Forked By: 6.7k
https://github.com/Azure/azure-sdk-for-python
#python #azure
ββββββββββ
Join @python_bds for more cool data science materials.
*This channel belongs to @bigdataspecialist group
GitHub
GitHub - Azure/azure-sdk-for-python: This repository is for active development of the Azure SDK for Python. For consumers of theβ¦
This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our v...
π8