What will be the output of the following Python code snippet?
x = 'abcd' for i in range(len(x)): i.upper() print (x)
निम्नलिखित Python कोड स्निपेट का आउटपुट क्या होगा?
x = 'abcd' for i in range(len(x)): x[i].upper() print (x)
x = 'abcd' for i in range(len(x)): x = 'a' print(x)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा?
x = 'abcd' for i in range(len(x)): print(x) x = 'a'
What will be the output of the following Python code?
d = {0: 'a', 1: 'b', 2: 'c'} for i in d: print(i)
निम्नलिखित Python कोड का आउटपुट क्या होगा?
d = {0: 'a', 1: 'b', 2: 'c'} for x, y in d.items(): print(x, y)
d = {0: 'a', 1: 'b', 2: 'c'} for x in d.keys(): print(d[x])
d = {0: 'a', 1: 'b', 2: 'c'} for x in d.values(): print(x)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
d = {0: 'a', 1: 'b', 2: 'c'} for x in d.values(): print(d[x])
d = {0, 1, 2} for x in d.values(): print(x)