The code prompts the user to enter a range. It then creates two separate lists - list1 for even numbers and list2 for odd numbers. It appends the numbers based on their parity to the respective lists using a for loop. Finally, it prints out the two lists.
-
Notifications
You must be signed in to change notification settings - Fork 0
ChandraPrakash1486/Python
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published