day17 ATM练习不断修改

start.py

import sys
import os
from core import src
sys.path.append(os.path.dirname(__file__))
print(os.path.dirname(__file__))
print(os.path.dirname(os.path.dirname(__file__)))
print(__file__)
if __name__ == '__main__':
    src.run()

src.py

def run():
    while True:
        print('''
        1 ATM
        2 购物商场
        3 管理员
        4 多账户管理
        ''')
        user_command = input('输入编号')

猜你喜欢

转载自www.cnblogs.com/lee1225/p/12640421.html
今日推荐