Courses
Log in
Start Learning AI
Courses
Log in
Start Learning AI
Q&A Discussions
Search
Search
Ask a question
Ask a question
i am not getting correct even odd numbers count from given range of numbers (range -5 to 7)...
(i%2)
+
+1
=
==
0
0:
1
a
b
b+1):
count
else:
even
even_count
for
i
if
in
int(input())
odd
odd_count
print(even_count)
print(odd_count)
range(a
0 Votes
3 Answers
23rd Feb 2021, 9:58 AM
anil jampani
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Python intermediate help with dictionaries
0 Votes
I'm about to make a complex calculator in python
0 Votes
Marquee
1 Votes
Any Advise?
2 Votes
why is python community is too small in sololearn?
0 Votes
How far do courses go on Sololearn?
0 Votes
Popsacles Aufgabe
1 Votes
Button In C++
1 Votes
C#
0 Votes
Audio adding
1 Votes