Python Forum
Print not appearing in output
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Print not appearing in output
#1
def main():
    #Intro
    print("Roulette Wheel Colors App...")
   

    #Prompt user for numbers (0-36)
    print("Please eneter pocket number(0-36)")

    
    
Reply
#2
You have a custom function called main(), but you'll need to call it:

main()  # this will call the function
Or, simply do away with the function:

# Intro
print("Roulette Wheel Colors App...")

# Prompt user for numbers (0-36)
print("Please enter pocket number(0-36)")
dgizzly likes this post
Sig:
>>> import this

The UNIX philosophy: "Do one thing, and do it well."

"The danger of computers becoming like humans is not as great as the danger of humans becoming like computers." :~ Konrad Zuse

"Everything should be made as simple as possible, but not simpler." :~ Albert Einstein
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Read text file, process data and print specific output Happythankyoumoreplease 3 2,932 Feb-20-2020, 12:19 PM
Last Post: jefsummers
  How do we print this output? veve 5 3,426 May-14-2018, 08:35 AM
Last Post: wavic
  Need to print the output as follows Mac 2 3,326 Jul-19-2017, 06:52 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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