The second parameter in seek() function indicates to the position from where the file object to start with. This parameter accepts following values:
0 - to set the file handler at the beginning of the file.
1 - to set the file handler to the current position.
What is the output of the following code snippet?
print([i.lower() for i in "HELLO"])
निम्नलिखित कोड स्निपेट कोड का आउटपुट क्या होगा?
try is keyword in python which is used to handles the exception in python
What will following code segment print
if True or True: if False and True or False: print('A') elif False and False or True and True: print('B') else: print('C') else: print('D')
निम्लिखित कोड सेगमेंट क्या प्रिंट करेंगे