Python Forum
Print not appearing in output - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Homework (https://python-forum.io/forum-9.html)
+--- Thread: Print not appearing in output (/thread-38452.html)



Print not appearing in output - dgizzly - Oct-14-2022

def main():
    #Intro
    print("Roulette Wheel Colors App...")
   

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

    
    



RE: Print not appearing in output - rob101 - Oct-14-2022

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)")