@Lolanator365/

WiryTimelyOperatingenvironment

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import sys

def displayoptions():
  displayoptions()
  print("this is my NEA")
  print("What would you like to do?")
  choice = input("""
                      A: enter RLE
                      D: display ASCII art
                      C: convert to ASCII art
                      R: convert to RLE 
                      Q: Quit

                      Please enter your choice: """)

  if choice == "A" or choice =="a":
        RLE()
  elif choice == "D" or choice =="d":
        displayASCII()
  elif choice=="C" or choice=="c":
       convertASCII()
  elif choice=="R" or choice=="r":
       convertRLE()
  elif choice=="Q" or choice=="q":
        sys.Quit
  else:
        print("You must only select from the given options")
        print("Please try again")
        displayoptions()