What will be the output of the following Python code?x = 'abcd' for i in range(len(x)): print(i) - Study24x7
Social learning Network
05 Feb 2024 02:42 PM study24x7 study24x7

What will be the output of the following Python code?

x = 'abcd' for i in range(len(x)): print(i)

A

error

B

1 2 3 4

C

a b c d

D

0 1 2 3

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles