While loops not working; Python


  • 0
    T

    It seems as though the while loop is not working. I've run the code below and received the attached output. The while loop should check the conditional (i < n and j < m) and should ensure that the conditional of the first if statement of the while loop is not evaluated, yet this conditional is evaluated. I've attached a picture of the code I've written and the console output. This post is in regards to question 88.

    0_1504236700885_Screenshot from 2017-08-31 20-29-56.png

    0_1504236729557_Screenshot from 2017-08-31 20-30-00.png


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.