New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
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
Hello, please help me understand how to solve
2 Votes
post your python code here)
3 Votes
I want these three dots to jump inside that box..please help
1 Votes
Is Java getting left behind? Do questions get upvotes?
1 Votes
Help with homework
0 Votes
Anybody that can help me fix my pc - long story short I'm dumb and deleted necessary system software files
1 Votes
please help me emotionally
1 Votes
Why are not all the codes showing?
0 Votes
Time
2 Votes
Logical operator
1 Votes