tactical-coder's blog

By tactical-coder, history, 3 years ago, In English

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))
  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?