About 58,400 results
Open links in new tab
  1. Creating a Menu in Python - Stack Overflow

    use a dictionary to store menu options, with the number of the option as the key, and the text to display for that option as the value. The entire menu system should run inside a loop and keep …

  2. Python menu-driven programming - Stack Overflow

    Aug 23, 2014 · For menu-driven programming, how is the best way to write the Quit function, so that the Quit terminates the program only in one response. Here is my code, please edit if …

  3. Menu based python program on Binary file handling using pickle …

    May 29, 2023 · The First time I executed the code all the functions worked well , when i tried to execute the same code again the write function does not append new records, it shows only …

  4. python 3.x - Creating a program to write and read a text file …

    Oct 22, 2020 · The name_added is creating a local variable when setting interface.To tell python to reference the global interface variable, use the global call.

  5. How to create simple menu in Python with list functions?

    Dec 2, 2019 · This menu-maker came from following a discussion about how to force a response to an input statement. It is the only code I have ever written that I thought might be of use to …

  6. python - Menu driven program - Stack Overflow

    Apr 24, 2022 · I'm trying to complete my menu driven program; however, I can't get this code to function properly. the goal is to get information from my previous code then get the evaluated …

  7. How do you write a menu driven python programme [closed]

    Write a menu-driven Python program which includes the following; A function which takes a file name from the user and creates a file of the same name. The function should then use a while …

  8. dictionary - Making a menu in Python - Stack Overflow

    Aug 31, 2011 · Calling a function from a string with the function's name in Python. I think I could write some terrible code that would do this, but I'd much rather see the 'clean version'. What …

  9. menu - Switch-case statement in Python - Stack Overflow

    Mar 15, 2021 · I'm tired of trying to make a menu that let's me choose from a dictionary keys and in every value I have the choice. I found that I can use dictionary and get() method, it's working …

  10. algorithm - Python - Sum of the factorials - Stack Overflow

    Factorial calculation using Python. 2. Summing factorials in Python. 0. Calculating factorials with Python. 7.

Refresh