es
Feedback

¡No caigas en manos de tramposos! Telemetrio encuentra y marca estos canales 👉 Si quieres ver la etiqueta, suscríbete

Coding Quiz Zone

Coding Quiz Zone

Ir al canal en 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!

Mostrar más
1 545
Suscriptores
-524 horas
-77 días
-630 días
Archivo de publicaciones

def foo(x):
    x[0] = ['def']
    x[1] = ['abc']
    return id(x)
q = ['abc', 'def']
print(id(q) == foo(q))

What will be the output of the following Python code?
Anonymous voting


class tester:
    def __init__(self, id):
        self.id = str(id)
        id="224"
 
>>>temp = tester(12)
>>>print(temp.id)

Which one of the following is not a keyword in Python language?
Anonymous voting

Which function is called when the following Python program is executed? f = foo() format(f)
Anonymous voting

What will be the output of the following Python statement? >>>"a"+"bc"
Anonymous voting

What will be the output of the following Python code snippet? for i in [1, 2, 3, 4][::-1]: print(i, end=' ')
Anonymous voting

What will be the output of the following Python function? len(["hello",2, 4, 6])
Anonymous voting

Which of these is the definition for packages in Python?
Anonymous voting

What will be the output of the following Python expression if x=56.236? print("%.2f"%x)
Anonymous voting

Which of the following is not a core data type in Python programming?
Anonymous voting

What will be the output of the following Python function? min(max(False,-3,-4), 2,7)
Anonymous voting

The following python program can work with ____ parameters.
Anonymous voting


def f(x):
    def f1(*args, **kwargs):
           print("Sanfoundry")
           return x(*args, **kwargs)
    return f1

Which of the following is the use of id() function in python?
Anonymous voting

Which of the following functions is a built-in function in python?
Anonymous voting

What will be the output of the following Python code?
Anonymous voting

l=[1, 0, 2, 0, 'hello', '', []]
list(filter(bool, l))

Which of the following is the truncation division operator in Python?
Anonymous voting

What are the values of the following Python expressions?
Anonymous voting

Coding Quiz Zone - Estadísticas y analítica del canal de Telegram @codingquizzone