Waht is the return value of floor(3.6)?
Which of the following commands will create a list?
What will be the output of the following Python code?
print('Hello!2@#World'.istitle())
What will be the output of the following Python code?
str1 = 'hello'
str2 = ','
str3 = 'world'
str1[-1]
words = ['cat', 'window', 'defenestrate']
for w in words:
print(w, len(w))
break
Is the following Python code valid?
>>> a,b,c=1,2,3
>>> a,b,c
What will be the output of the following code?
class Sport:
def __init__(self):
print("I am in the class")
cricket = Sport()
footBall = Sport()
cricket.score = 100
footBall.score = 3
print(footBall.score)