• + 2 comments

    This code passed the 0 test but not the following test. Am I doing anything wrong?I played around with it in netbeans IDE and it worked there.

    i = 0 while i < 5: print i * i i += 1

    Same with this code for i in range(0,5): print i * i