hi I am new to programming I just want to know how can I exit this program using just the enter? Can't use the if not due to the split.
while True:
try:
Student.id, Student.name, Student.degree = input("give id,name and degree or hit enter to exit").split(",")
splitcall later, if input was provided; otherwise exit.