Q. Find and write the output of the following python code:


x = "abcdef"

i = "a"

while i in x:

    print (i, end = " ")


Answer :-

aaaaaa----

keeps printing a's endlessly OR infinite loop

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post