Code:
#creat empty lists to hold even and odd numbers even = [] odd = [] #create a message giving the directions mess = "Enter a non-negative number to add to the lists or a negative number to stop" #get input from the user val = raw_input(mess) #while
Leave a comment: