Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
4
ile = int(input()) for i in range(ile): ciag = input().split(' ') parzyste = 0 nieparzyste = 0 i = 0 while int(ciag[i]) != 0: if int(ciag[i])%2==0: parzyste = parzyste + int(ciag[i]) else: nieparzyste = nieparzyste + int(ciag[i]) i += 1 print(parzyste,nieparzyste)
run
|
edit
|
history
|
help
0
inerse_matrix_gauss_jordan
Depth First Search - Find if path exists
shuru3
test
Phython
lower and upper alphabets checker
EJ2_PYTHON_20.321.212-7
Prime number
p1
Regular falsi