Coding Quiz Zone
رفتن به کانال در Telegram
✨ 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!
نمایش بیشتر1 545
مشترکین
اطلاعاتی وجود ندارد24 ساعت
-97 روز
-630 روز
آرشیو پست ها
1 545
What is the maximum possible length of an identifier in Python?
1 545
Which of the following Python statements will result in the output: 6?
A = [[1, 2, 3],
[4, 5, 6], [7, 8, 9]]
1 545
What will be the output of the following Python code?
1 >>>list1 = [1, 3]
2 >>>list2 = list1 3 >>>list1[0] = 4 4 >>>print(list2)
1 545
What will be the output of the following Python code?
print('*', "abcde".center(6), '*', sep='')
1 545
What will be the value of ‘result’ in following Python program?
list1 = [1,2,3,4]
list2 = [2,4,5,6] list3 = [2,6,7,8] result = list() result.extend(i for i in list1 if i not in (list2+list3) and i not
1 545
Which of the following statements is used to create an empty set in Python?
1 545
What will be the output of the following Python code?
print("abc. DEF".capitalize())
1 545
What arithmetic operators cannot be used with strings in Python?
1 545
What will be the output of the following Python program?
z=set('abc')
z.add('san') z.update(set(['p', 'q'])) z
1 545
Which module in the python standard library parses options received from the command line?
1 545
What will be the output of the following Python program?
def foo(x):
x[0] = ['def'] x[1] = ['abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))
1 545
What will be the output of the following Python code?
1 class tester:
2 def __init__(self, id): 3 self.id = str(id) 4 id="224" 5 6 >>>temp = tester(12) 7 >>>print(temp.id)
1 545
Which function is called when the following Python program is executed?
f = foo() format(f)
