Lgk2's blog

By Lgk2, history, 5 months ago, In English


I'm trying to solve this problem in python but i'm not sure when to stop reading inputs. All inputs come in multiples of 3 but i don't know when to break my loop.

while True:
    print(pow(int(input()), int(input()), int(input())))

Read more »

  • Vote: I like it
  • +4
  • Vote: I do not like it