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
Skillenza- Subjects
Program of cube
LinkedNode and its use in Stack and Queue implementation
,..........(༎ຶ ෴ ༎ຶ)Hello my name.....(╯︵╰,).,
BasicFunctions.py
list_copy_shallow_deep.py
"Hello,world!"
Python
Lesson3 part 2
Ej2_python_204676887