What will be the output of the following Python code?
x = "abcdef" i = "i" while i in x: print(i, end=" ")
निम्नलिखित Python कोड का आउटपुट क्या होगा?
x = "abcdef" i = "a" while i in x: print(i, end = " ")
x = "abcdef" i = "a" while i in x: print('i', end = " ")
x = "abcdef" i = "a" while i in x: x = x[:-1] print(i, end = " ")
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()
x = 'abcd' for i in range(x): print(i)
x = 'abcd' for i in range(len(x)): print(i)
x = 'abcd' for i in range(len(x)): print(i.upper())