Skip to content

Instantly share code, notes, and snippets.

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