What will be the output of the following Python expression?
x=24//6%3, 24//4//2 print(x)
निम्नलिखित पायथन एक्सप्रेशन का आउटपुट क्या होगा?
What will be the output of the following Python code?
print('{a}{b}{a}'.format(a='hello', b='world'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
x = ['ab', 'cd'] for i in x: i.upper() print(x)
x = "abcdef" i = "a" while i in x: x = x[:-1] print(i, end = " ")
निम्नलिखित Python कोड का आउटपुट क्या होगा?
x = "abcdef" i = "a" while i in x[:-1]: print(i, end = " ")
x = "abcdef" i = "a" while i in x: x = x[1:] print(i, end = " ")
x = 'abcd' for i in x: print(i) x.upper()
What will be the output of the following Python code snippet?
x = 'abcd' for i in range(len(x)): x[i].upper() print (x)
निम्नलिखित Python कोड स्निपेट का आउटपुट क्या होगा?
d = {0: 'a', 1: 'b', 2: 'c'} for i in d: print(i)
d = {0: 'a', 1: 'b', 2: 'c'} for x, y in d.items(): print(x, y)