Coding Quiz Zone
Kanalga Telegramβda oβtish
β¨ Part Of @OfficialCodingExpert Dive into the world of computer science, programming, and coding challenges. Sharpen your skills, expand your knowledge, and embark on a journey of continuous learning. Stay tuned for daily quizzes!
Ko'proq ko'rsatish1 552
Obunachilar
-424 soatlar
+17 kun
-130 kun
Postlar arxiv
1 551
What will be the output of the following Python code?
>>>max("what are you")
1 551
What will be the output of the following Python code?
>>>example = "snow world" >>>print("%s" % example[4:7])
1 551
class tester:
def __init__(self, id):
self.id = str(id)
id="224"
>>>temp = tester(12)
>>>print(temp.id)1 551
class father:
def __init__(self, param):
self.o1 = param
class child(father):
def __init__(self, param):
self.o2 = param
>>>obj = child(22)
>>>print "%d %d" % (obj.o1, obj.o2)1 551
What will be the output of the following Python code?
print("xyyzxyzxzxyy".endswith("xyy", 0, 2))
1 551
What will be the output of the following Python code?
print("xyyzxyzxzxyy".endswith("xyy"))
1 551
What will be the output of the following Python code?
print('abc'.encode())
1 551
What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('xyy', -10, -1))
1 551
What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('xyy', 2, 11))
1 551
What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('xyy', 0, 100))
1 551
What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('yy', 2))
1 551
What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('yy', 1))
1 551
What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('yy'))
1 551
What will be the output of the following Python code?
print("abcdef".center(10, '12'))
1 551
What will be the output of the following Python code?
print("abcdef".center(7, '1'))
