Q121
Open questionSelect an option to see the answer and solution.
Practice every MCQ with options. Use Show answers when you want the correct option and solution.
189
Questions
7/10
Page
Pick an option on a question to see the right answer and solution.
Q121
Open questionSelect an option to see the answer and solution.
Q122
Open questionSelect an option to see the answer and solution.
Q123
Open questionSelect an option to see the answer and solution.
Q124
Open questionobject
'a'
CODE 1
>>> pickle.dumps('a', 3)
CODE 2
>>> pickle.dumps(object, 3)Select an option to see the answer and solution.
Q125
Open questionSelect an option to see the answer and solution.
Q126
Open questionrandom.choice('sun')Select an option to see the answer and solution.
Q127
Open questionSelect an option to see the answer and solution.
Q128
Open questionimport datetime
dt_1 = datetime.datetime.today()
dt_2 = datetime.datetime.now()
print(dt_1)
print(dt_2)Select an option to see the answer and solution.
Q129
Open questionSelect an option to see the answer and solution.
Q130
Open questionSelect an option to see the answer and solution.
Q131
Open questionSelect an option to see the answer and solution.
Q132
Open questionSelect an option to see the answer and solution.
Q133
Open questionimport turtle
t=turtle.Pen()
for i in range(0,4):
t.forward(100)
t.left(120)Select an option to see the answer and solution.
Q134
Open questionSelect an option to see the answer and solution.
Q135
Open questionimport turtle
t=turtle.Pen()
for i in range(0,3):
t.forward(100)
t.left(120)
t.back(100)
for i in range(0,3):
t.forward(100)
t.left(120)Select an option to see the answer and solution.
Q136
Open questionimport turtle
t=turtle.Pen()
t.clear()
t.isvisible()Select an option to see the answer and solution.
Q137
Open questionimport turtle
t=turtle.Pen()
t1=turtle.Pen()
t2=turtle.Pen()
t.forward(100)
t1.forward(100)
t2.forward(100)
t1.left(90)
t1.forward(75)
t2.right(90)
t2.forward(75)Select an option to see the answer and solution.
Q138
Open questionimport sys
sys.argvSelect an option to see the answer and solution.
Q139
Open questionSelect an option to see the answer and solution.
Q140
Open questionimport turtle
t=turtle.Pen()
t.position()
(100.00,0.00)
t.goto(100,100)
t.distance(100,0)Select an option to see the answer and solution.