0
0

More than 1 year has passed since last update.

paizaラーニング「毎日増加するお金 Python3編」

Posted at

私の解答

A, B = map(int, input().split())
num = 0
while A <= B:
    A = int(A * 1.1)
    num += 1

print(num)

前の問題の解答例を参考にしたからか、全く一緒でした!!!

解答例

A, B = map(int, input().split())

num = 0
while A <= B:
    A = int(A * 1.1)
    num += 1

print(num)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0