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
Подписчики
-524 часа
-77 дней
-630 дней
Архив постов
1 545
def foo(x):
x[0] = ['def']
x[1] = ['abc']
return id(x)
q = ['abc', 'def']
print(id(q) == foo(q))1 545
class tester:
def __init__(self, id):
self.id = str(id)
id="224"
>>>temp = tester(12)
>>>print(temp.id)1 545
Which one of the following is not a keyword in Python language?
1 545
Which function is called when the following Python program is executed?
f = foo() format(f)
1 545
What will be the output of the following Python statement?
>>>"a"+"bc"
1 545
What will be the output of the following Python code snippet?
for i in [1, 2, 3, 4][::-1]: print(i, end=' ')
1 545
What will be the output of the following Python function?
len(["hello",2, 4, 6])
1 545
What will be the output of the following Python expression if x=56.236?
print("%.2f"%x)
1 545
Which of the following is not a core data type in Python programming?
1 545
What will be the output of the following Python function?
min(max(False,-3,-4), 2,7)
1 545
def f(x):
def f1(*args, **kwargs):
print("Sanfoundry")
return x(*args, **kwargs)
return f11 545
Which of the following functions is a built-in function in python?
1 545
Which of the following is the truncation division operator in Python?
