Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
(P2) Ciągi 2
ciag = input().split(' ') ciag = list(map(int, ciag)) i = 0 x = 0 if ciag[0] == 0 or ciag[1] ==0: print(-1) else: while ciag[i] != 0: if x < ciag[i]: x = ciag[i] i += 1 i = 0 y = x while ciag[i] != 0: if y > ciag[i]: y = ciag[i] i += 1 print(x-y)
run
|
edit
|
history
|
help
0
Well, this seems bad.
Python3: Class I : Person (Simple)
ванечка с тебя 200 рублей, жду мой сладкий 🤑
PyDataDescript
find x with f(x) = 0 (limited area of solution)
set, tuple, and dict
PyAnchorAlter
hi
Lesson 8 updated
Gh