Runtime Error on test 1 on 791A:Bear and Big Brother

Revision en3, by tactical-coder, 2021-01-25 23:40:32

Hi all, I am new to programming. I am getting a runtime error on Test 1 and I have no clue how to fix it. It would be great if someone pointed out the mistake. This is the problem in python. Note: I tried with some use cases and it worked fine in pycharm. TIA

Code

  • limal = int(input(""))
  • bob = int(input(""))
  • years = 0
  • while limal <= bob:

      • limal = 3 * limal
      • bob = 2 * bob
      • years = years + 1 print(int(years))
Tags python, run-time, 791a

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English tactical-coder 2021-01-25 23:40:32 20
en2 English tactical-coder 2021-01-25 23:26:01 19 Tiny change: 'ake. This problem with [this](https://' -> 'ake. This is the [problem](https://'
en1 English tactical-coder 2021-01-25 23:25:13 541 Initial revision (published)