Skip to content

Exercise: level 2 |day 11 funtions #957

Description

@mygit3ayo

Huge thanks to Asabeneh on creating this dedicated 30 days python challenge.

Exercise given in this day 11 labelled as 'Exercise level:2'
question no. 1 expects this:-

 print(evens_and_odds(100))
# The number of odds are 50.
# The number of evens are 51.

but here when we count manually numbers of odds and even we get 50 odds and 50 evens, 0 is neither odd or even.
while this looks like a minor problem the code(answer to exercise) will run would not show exactly as commented.

the fix: editing second comment to ' # The number of evens are 50.'
this helps someone for figuring out how to solve this exercise

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions