Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i need to generate a timetable
for a 5 day week
7 lessons per day
students can only be in one palce at a time same with teachers

minimuim of 3 of each subject per week
user must be able to edit students taking each subject

(i thought of a list for each subject and in it index of who takes it)
i struggling with logic)

Please can i have help coding the project with #comments please
or a algorythm i can follow

What I have tried:

#subjects
subjectn = ('What subject do you wish to edit')

subject = []
for students in subject:
student = input('Name of student you wish to add')
subject.insert(students, student)
Add = input('add another student Y/N? :')
# if Add == 'Y'or'y': bad use of syntax
# then pass #useless
# if Add == 'N' or 'n':
# break
Posted
Updated 14-May-18 6:23am

1 solution

 
Share this answer
 
Comments
Member 14267311 16-Apr-19 12:44pm    
I need source code
OriginalGriff 16-Apr-19 13:56pm    
This is not a "do your homework" site: we do not write code to order.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900