print(chr(ord('a')+2))
Find the output of the following code:
x="Helloworld"
x.replace('l','L')
print(x)
What will be the output of the following Python functions?
x=3
eval('x^2')
Which function overloads the >> operator?
What does print(Test.__name__)
display (assuming Test
is the name of the class)?
The command used to set only the x coordinate of the turtle at 45 units is:
What is the output of the given code?
s="D:\\Abekus\\Python"
print(s)
The assignment of more than one function to a particular operator is _______
Django is a framework that allows you to build large projects. On the other hand, Flask is used to build smaller websites.
What will be the output of the following Python code?
class Demo:
def __init__(self):
self.a = 1
self.__b = 1
def get(self):
return self.__b
obj = Demo()
obj.a = 45
print(obj.a)