What will be the output of the following Python code snippet?
x = 'abcd' for i in range(len(x)): x[i].upper() print (x)
What will be the output of the following Python code?
d = {0: 'a', 1: 'b', 2: 'c'} for x, y in d.items(): print(x, y)
string = "my name is x" for i in string: print (i, end=", ")
i = 5 while True: if i%0O11 == 0: break print(i) i += 1
x = 'abcd' for i in range(x): print(i)
bool(‘False’)
bool()
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा?
for i in ''.join(reversed(list('abcd'))): print (i)
for i in range(2.0): print(i)
What will be the output of the following Python expression if the value of x is 34?
print(“%f”%x)
x = "abcdef" i = "a" while i in x: print(i, end = " ")
x = "abcdef" i = "i" while i in x: print(i, end=" ")
x = 'abcd' for i in range(len(x)): print(x) x = 'a'
What will be the output of the following Python expression if x=456?
print("%-06d"%x)
not(3>4)not(1&1)
x = "abcdef" i = "a" while i in x: print('i', end = " ")
i = 1 while True: if i%3 == 0: break print(i) i + = 1
for i in range(int(2.0)): print(i)
What will be the value of the following Python expression?
4+2**5//10
निम्नलिखित पायथन एक्सप्रेशन की वैल्यू क्या होगी?
x = 'abcd' for i in range(len(x)): print(i.upper())
a = [0, 1, 2, 3] for a[0] in a: print(a[0])
x = ['ab', 'cd']
for i in x: i.upper()
print(x)
float(4+int(2.39)%2)
निम्नलिखित पायथन एक्सप्रेशन की वैल्यू क्या होगी ?
True = False while True: print(True) break
i = 0 while i < 5: print(i) i += 1 if i == 3: break else: print(0)
d = {0, 1, 2} for x in d: print(d.add(x))