All classes have the------------------ method.
Overriding means changing behaviour of methods of derived class methods in the base class.
What will be the output of the following Python code snippet?
print('abcefd'.replace('cd', '12'))
Which of the following can be used to create a directory?
What is the output of the following code?
text="""
Abekus
helps us to
improve our knowledge."""
l=len(text)
print(l)
What will be the output of the following Python code?
>>>names = ['Amir', 'Bear', 'Charlton', 'Daman']
>>>print(names[-1][-1])
What will be the output of the following Python code snippet?
print([i.lower() for i in "HELLO"])
What does os.close(f) do?
def test_var_args(farg, *args):
print ("formal arg:", farg)
for arg in args:
print ("another arg:", arg)
test_var_args(1, "two", 3)