I would like some help with a programming assignment I have for python. I do not want someone to simply give me the source code. just please guide me in the right direction as I am reaching a mental block for some reason today.
I need to: Implement a print_menu() function, which has a string as a parameter, outputs a menu of user options for analyzing/editing the string, and returns the user's entered menu option and the sample text string (which can be edited inside the print_menu() function).
Each option is represented by a single character.
If an invalid character is entered, continue to prompt for a valid choice. Hint: Implement the Quit menu option before implementing other options. Call print_menu() in the main section of your code. Continue to call print_menu() until the user enters q to Quit.
Basically, I need a selection menu that is part of a function and when called it will display the selection menu like below and also accept an argument for the menu regarding a particular task. Like, print_menu(c) would remove whitespace. MENU c - task 1 w - task 2 f - task 3 r - task 4 s - task 5 q - Quit
If you do attach source code, please explain why you used this method...as in if you have a for loop or while loop, why did you use that instead of another method if there was another method. Thanks for any assistance.
ok so here is the problem... Its 8:48 i have the drug test appointment at 1:00 im a heavy weed smoker, so im pretty sure im dirty, i work for the gmnt so i CANT loose this job... Really need the help, Im not even sure this is a drug test, but they r making us pee on a cup, is a physical test so we can go inside the ships and stuff like that , i am a civilian DoD. My friend gave me his urine, but when I started this job a month ago, they asked for blood and urine, so they have info from my urine already, can they find out that this urine that im bringing in today is not mine? are they going to test it againts the past one? give me ideas of what i can do to save my ass!!! PLEASEEEEEEEEEEEEEE IM BEGGING
Adrien Brody the skat animator had a bunch of old videos taken off of youtube, if his name rings a bell he made Dogcheese Squarepants. ALL of his damn Shrek videos are gone and it's fucking me up so hard, I need them back WSR, please. In this dark world, Shrek's flaccid penis getting plopped on Lord Farquaad's poop is a light in my life. IF YOU HAVE ANY OF ADRIEN BRODY'S VIDEOS, RESPOND IMMEDIATELY
Hola putas! Looking for an anime to watch. If you have suggestions leave them below, all help would be greatly appreciated. Here are some things ive watched previously and liked: Deathnote, Mirai nikki, Shiki, Erased, Re:Zero, and most recently Watamote.