Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
no outcome is printing
#2
No list is printed because you didn't print a list. You need print calls around lines 16 and 19. Also, 'else if' in Python is 'elif':

if evenodd == "odd":
    remove_even(arr)
elif evenodd == "even":
    remove_odd(arr)
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
no outcome is printing - by helpme - Mar-07-2019, 01:55 PM
RE: no outcome is printing - by ichabod801 - Mar-07-2019, 02:02 PM
RE: no outcome is printing - by helpme - Mar-07-2019, 02:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  outcome 0 but impossiblenumbers change bntayfur 1 1,530 Jul-05-2020, 09:05 PM
Last Post: Yoriz
  Not the expected outcome christopher3786 1 1,607 Jun-23-2020, 07:16 AM
Last Post: bowlofred
  Python program that list all possible football outcome combinations lukorir 5 9,052 Oct-17-2019, 04:05 AM
Last Post: steve_shambles

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020