• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Python yes or no options

how can you add a yes or no option? for example in video games before exiting the game it will say "would you like to exit?" and then prompts you with a yes or no button to press

pythoncpythonpython3programmingornocodingyesyesorno
22nd Dec 2016, 3:43 AM
jacob
jacob - avatar
1 Answer
0
try pyautogui module..
29th Dec 2016, 4:24 AM
Naman Jain
Naman Jain - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
What is slicing of data in lists ?
3 Votes
I have been learning code for about 2 months and I am still not good
0 Votes
Is ethical hacking good? :)
0 Votes
please add rust? , I'm can create and write code in Rust , can you add rust in create section please?
3 Votes
How to make csharp program.cs, other Windows like the launch json and how to add other languages in the same code on ipad
0 Votes
Can someone tell me how good this coding language is? You can look through the code to find syntax in a comment
1 Votes
I am wondering if there is anything i need to know
1 Votes
C programing
0 Votes
How to learn coding faster
1 Votes
“Algo salió mal” curso HTML text formating
0 Votes