コード例 #1
0
ファイル: MainApp.py プロジェクト: hyksos121/First-OOP
                    status_bool = False
                else:
                    print("invalid input, please enter true or false")
            profession = input("Profession: ")
            salary = input("Fee: ")
            print("INFO: teacher object is being created")
            employee_obj = Employee_Object.Employee(name, age, gender, email,
                                                    cnic, country, city,
                                                    address, status,
                                                    profession, salary)
            print("INFO: teacher has been created successfully")
            employee_obj.get_profile()
            employee_count += 1

    elif first_input == "4":
        Menu.Customer_Menu()
        employee_input = input("Please select an option: ")
        if employee_input == "1":
            name = input("Name:")
            age = input("Age: ")
            gender = input("Gender: ")
            email = input("Email: ")
            cnic = input("CNIC: ")
            country = input("Country: ")
            city = input("City: ")
            address = input("Address: ")
            while status_bool:
                status_input = input("Status (true / false): ")
                if status_input == "true":
                    status = True
                    status_bool = False