import turtle
t=turtle.Pen()
for i in range(0,4):
t.forward(100)
t.left(120)
What is the output of the following code?
set={}
type(set)
What is Jinja2?
A string that is prefixed with 'r' or 'R' is called which of the following?
Which of the following Python statements will result in the output: 6?
A = [[1, 2, 3],
[4, 5, 6],
[7, 8, 9]]
What is the output of the following Python code?
def fun(*args):
return type(*args)
fun(14357)
What is the output of the following code?
>>> n="12"
>>> {i*i for i in range(int(n)) if i%2==0}
What will be the output of the following Python code?
class tester:
def __init__(self, id):
self.id = str(id)
id="224"
>>>temp = tester(12)
>>>print(temp.id)
What are sets ?