What is “Hello”.replace(“l”, “e”)?
What will be the output of the following Python code?
print('{0:.2%}'.format(1/3))
What is the output of the given code?
print (True+True+True)
print(True+False+False)
What will be the output of the following Python code?
What is the output of the following code?
i = sum = 0
while i <= 4:
sum += i
i = i+1
print(sum)
What is the output of the following code?
x = 0.0001
y = 0.00001
print(x)
print(y)
Which of the following functions returns a value in degrees, counterclockwise from the horizontal right?
What are the methods which begin and end with two underscore characters called?
The output of executing string.ascii_letters can also be achieved by:
What will be the output of the following Python code?
a={1:"A",2:"B",3:"C"}
b={4:"D",5:"E"}
a.update(b)
print(a)