This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("--This program finds all pairs of numbers whose sum is odd and whose product is even--") | |
# read the user input numbers (separated by commas) | |
print("Enter the numbers separated by a comma") | |
print("example: 3,4,5,6") | |
num_str = input("enter your numbers here:") | |
# convert the user input to a list |