What will be the output of the following Python code
Anonymous Quiz
40%
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
56%
Error
21%
u
5%
t
18%
y
❤7👍2
👍5❤2
👍3
❤2
To concatenate two strings to a third what statements are applicable?
Anonymous Quiz
14%
s3 = s1 . s2
51%
s3 = s1.add(s2)
20%
s3 = s1.__add__(s2)
15%
s3 = s1 * s2
Which of the following statement prints hello\example\test.txt?
Anonymous Quiz
49%
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
44%
hello123
18%
hello6
5%
hello
33%
Error
❤4👍1
❤1
Say s=”hello” what will be the return value of type(s)?
Anonymous Quiz
6%
int
5%
bool
53%
str
35%
String
❤5👍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
Given a string example=”hello” what is the output of example.count(‘l’)?
Anonymous Quiz
66%
2
14%
1
16%
None
5%
0
👍3