- Joined
- Jan 27, 2025
- Messages
- 9
- Reaction score
- 0
Yes. Here is mine:
print("yPrompt 1.1 O_-")
print("Type 'help' for help")
def inputer():
user_input = (input("C\>"))
def echo():
user_input = (input("Echo:"))
print(user_input)
inputer()
def help():
print('''
echo ;echos a string
help ;shows commands
exit ;exits shell
''')
inputer()
def exit():
print("Exiting...")
user_input = (input("C\>"))
if user_input == "echo":
echo()
elif user_input == "help":
help
elif user_input == "exit":
exit()
else:
print("Invalid Command")
inputer()
#Very buggy cuz I made this from scratch.
#Maybe I should have build it on 1.0...
print("yPrompt 1.1 O_-")
print("Type 'help' for help")
def inputer():
user_input = (input("C\>"))
def echo():
user_input = (input("Echo:"))
print(user_input)
inputer()
def help():
print('''
echo ;echos a string
help ;shows commands
exit ;exits shell
''')
inputer()
def exit():
print("Exiting...")
user_input = (input("C\>"))
if user_input == "echo":
echo()
elif user_input == "help":
help
elif user_input == "exit":
exit()
else:
print("Invalid Command")
inputer()
#Very buggy cuz I made this from scratch.
#Maybe I should have build it on 1.0...