Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import io
- import sys
- import os
- # windows
- clear = lambda: os.system('cls')
- #linux
- clear = lambda: os.system('clear')
- print("Welcome to your diary!!!")
- while(input != "5\n"):
- print("Please choose one of the folowing actions")
- print("1) Add notation")
- print("2) Get notation")
- print("3) Delete")
- print("4) Update")
- print("5) GetAll")
- print("6) Exit")
- input = sys.stdin.readline()
- clear()
- if(input == "1\n"):
- print("Input your notation in format [mm/dd/yyyy:hr/min/seconds] {space} your actual notation")
- inputSTR = sys.stdin.readline()
- ''' proccesInput '''
- sys.stdin.readline()
- if(input == "2\n"):
- print("Input your request in format [mm/dd/yyyy:hr/min/seconds]")
- inputSTR = sys.stdin.readline()
- ''' proccesInput '''
- sys.stdin.readline()
- if(input == "3\n"):
- print("Input your request in format [mm/dd/yyyy:hr/min/seconds]")
- inputSTR = sys.stdin.readline()
- ''' proccesInput '''
- sys.stdin.readline()
- if(input == "4\n"):
- print("Input your notation in format [mm/dd/yyyy:hr/min/seconds] {space} your actual notation")
- inputSTR = sys.stdin.readline()
- ''' proccesInput '''
- sys.stdin.readline()
- if(input == "5\n"):
- ''' proccesInput '''
- sys.stdin.readline()
- clear()
- print("Good by!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement