Assignment 4: Student Schedule
Answers
Answer:
u want how a student should plan the schedule .. hope u I'll reply ... plz..
Answer:
fname = str(input("What is your first name? "))
lname = str(input("What is your last name? ") )
sid = str(input("Student ID: "))
c = 1
print("*************************************************")
print("* *")
print("* "+ lname+ ", "+ fname +" ID: " + sid + " *")
print("* *")
print("*************************************************")
print("* *")
fclass = input("Enter the next class, STOP to end:")
rn = input("Enter the room number: ")
while ( fclass != "STOP"):
print("* "+"Block "+" "+str(c)+": "+ fclass+" Room: "+ rn +" *")
fclass = input("Enter the next class, STOP to end:")
rn = input("Enter the room number: ")
c = c + 1
print("* *")
print("*************************************************")
print('* *')
print("*************************************************")
Explanation:
My answer is perfectly correct but it still shows wrong for some reason