Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Complete the program of odd_even.py by adding the functionality for e…#2

Closed
techshivang wants to merge 1 commit intocodebasics:mastercodebasics/data-structures-algorithms-python:masterfrom
techshivang:patch-1techshivang/data-structures-algorithms-python:patch-1Copy head branch name to clipboard
Closed

Complete the program of odd_even.py by adding the functionality for e…#2
techshivang wants to merge 1 commit intocodebasics:mastercodebasics/data-structures-algorithms-python:masterfrom
techshivang:patch-1techshivang/data-structures-algorithms-python:patch-1Copy head branch name to clipboard

Conversation

@techshivang
Copy link

…ven Numbers.

As the Program name was odd_even but logic define in the Program is only for the odd numbers so i simply create a empty list and append all the even values in the list.

…ven Numbers.

As the Program name was odd_even but logic define in the Program is only for the odd numbers so i simply create a empty list and append all the even values in the list.
@groverkds
Copy link
Member

…ven Numbers.

As the Program name was odd_even but logic define in the Program is only for the odd numbers so i simply create a empty list and append all the even values in the list.

Hi Shivang,
Question 3 of the Array Exercise has only one objective of finding the odd numbers, hence the existing code is fine.

@groverkds groverkds closed this Oct 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.