Блог пользователя tactical-coder

Автор tactical-coder, история, 3 года назад, По-английски

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))
  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится