Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
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
CAN ANYONE SUGGEST ME AS A STUDENT WITH A PASSION OF CODING WHICH CODING LANGUAGE SHOULD I CHOOSE AS BEGGINER
3 Votes
I can't see my activity
2 Votes
what should be my first project in C.
2 Votes
[SOLVED] What's wrong in my code?
2 Votes
Hearts refill
2 Votes
Does skipping void Certificate?
2 Votes
I can't see my activity in my profile
1 Votes
Can anyone help me?
1 Votes
Python
3 Votes
Sololearn issue
1 Votes