TOPIC

Wrong Answer (Python)

Guilherme Mergulhão asked 3 years ago

i = float(0)
j = float(1)
while i <= 2:
    print("I = %.1f  J = %.1f" % (i,j))
    j = j + 1
    print("I = %.1f  J = %.1f" % (i,j))
    j = j + 1
    print("I = %.1f  J = %.1f" % (i,j))
    j = (j - 2) + 0.2
    i = i + 0.2

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.