Q. Write the output of the following code:


if i in range (2):

    for j in range (1):

        if i+2 == j:

            print ("+", end = "")

        else:

            print("o", end = "")


Answer :-

It will give error because of incorrect syntax.

1 Comments

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

Post a Comment

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

Previous Post Next Post