Nouvelle formation !
Tous les codeurs devraient apprendre
l'IA générative !
Essayez une leçon gratuite
Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Obtenir Pro
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une 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 Vote
3 Réponses
23rd Feb 2021, 9:58 AM
anil jampani
Poser une question
Poser une question
Aujourd'hui en vedette
How to cast in python
2 Votes
Python
1 Votes
Invitation to join open-source project.
6 Votes
Does casting not adjust the pointer in c++
3 Votes
Hey, I need help solving this problem!
1 Votes
HTML Module 3 Quiz
1 Votes
Hello, Can anyone tell me that when Android & Kotlin course will be available in App?
1 Votes
How can I make an hyperlink with a Sololearn project
2 Votes
Why does my image tagname not work.
0 Votes
Field name in ef core
0 Votes