0% found this document useful (0 votes)
7 views1 page

Menu Flowchart

The document appears to contain a fragment of code that includes print statements for displaying the current month, weekday, time, and directory. It also includes a loop for user input to display choices and handle options, with a prompt for invalid choices. Overall, the structure suggests a simple command-line interface program.

Uploaded by

chen.sizhi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Menu Flowchart

The document appears to contain a fragment of code that includes print statements for displaying the current month, weekday, time, and directory. It also includes a loop for user input to display choices and handle options, with a prompt for invalid choices. Overall, the structure suggests a simple command-line interface program.

Uploaded by

chen.sizhi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

print(

pass get_current_month_name(),
print(get_current_weekday(), print(get_current_time(), print(get_current_directory(),
print("Goodbye!")
"\n") "\n") "\n")
# Do nothing "\n")

Yes Yes Yes Yes Yes


Yes

option = None print("Invalid


while option option =
Start # No choice at
!= "Q":
Yes display_choices()
input("Choice:").upper()
if option == "P": No elif option == "M": No elif option == "W": No elif option == "T": No elif option == "D": No elif option == "Q": No choice. Please
the beginning try again.\n")

No

End

You might also like