This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| print("나노_파이썬 명령어 목록을 보려면 --help를 입력하세요.") | |
| while True: | |
| a = input("NANO_Python/>") | |
| if a == "cls": | |
| os.system('cls' if os.name == 'nt' else 'clear') | |
| continue | |
| if a == "--ver": | |
| print("나노_파이썬 버전 1.0.0") | |
| elif a == "--help": | |
| print("사용 가능한 명령어: --ver, --help, P, math, vars, time, exit") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| import os | |
| print("Nano_Python" \ | |
| " Type --help for a list of commands.") | |
| while True: | |
| a = input("NANO_Python/>") | |
| if a == "cls": | |
| os.system('cls' if os.name == 'nt' else 'clear') |