Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
we
P = int(input()) ap = int(input()) bp = int(input()) cp = int(input()) a = [] b = [] c = [] for i in range (100, 18000, 1): a.append(i * ap) b.append(i * bp) c.append(i * cp) i = 0 j = 0 k = 0 while a[i] + b[j] + c[k] != P: k += 1 if k == len(c): j += 1 k = 0 if j == len(b): i += 1 j = 0 print(a[i]) print(b[j]) print(c[k])
run
|
edit
|
history
|
help
0
prime_nonprime_count.py
POO I EN PYTHON 3
snake water gam correct
one
test3.py
FizzBuzz
lesson3 part3
String Toggling
latency
RESTRUCTURADO