linux shell reboot不起作用
时间: 2023-07-30 20:07:55 浏览: 55
Load student information from a file")
print("5. Query student course records and display average score")
print("0. Exit")
def main():
system = ManagementSystem()
while True:
display_menu()
choice = input("Enter your choice: ")
if choice == '1':
name = input("Enter student name: ")
student_id = input("Enter student ID: ")
student = Student您好!对于无法使用"reboot"命令重启系统的情况,可能有以下几种原因和(name, student_id)
system.add_student(student)
print("Student added successfully.")
elif choice == '2':
student_id解决方法:
1. 权限问题:请确保您拥有足够的权限来执行重启操作。通常, = input("Enter student ID: ")
course_name = input("Enter course name