This program tells me what lessons I have tomorrow then emails them to me.This program works fine, but I was wondering whether there is a way to simplify the script or make it more efficient. I have removed my email and password and who it is to for privacy, but it does work.import smtplibimport timeimport datetimefrom datetime import datedays = [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]English = [MondayA, WednesdayA, ThursdayA, FridayA, TuesdayB, WednesdayB, ThursdayB]Maths = [MondayA, TuesdayA, WednesdayA, ThursdayA, FridayA, TuesdayA, FridayB]Bioligy = []    #I will fill the following threePhysics = []Chemistry = []Computing = [TuesdayA, WednesdayA, ThursdayA, WednesdayB, ThursdayB]History = [MondayA, TuesdayA, MondayB, TuesdayB, WednesdayB]PE = [ThursdayA, WednesdayB, FridayB]BaV = [TuesdayA, FridayB]French = [MondayA, FridayA, MondayB, TuesdayB, FridayB]Course42 = [MondayB]lesson = []Comma = (, )day1 = (datetime.datetime.today().weekday())day = (days[day1 + 1])def WeekA(a):    Oday = (a + A)    if Oday in English:        lesson.append(English)    if Oday in Maths:        lesson.append(Maths)    if Oday in Bioligy:        lesson.append(Bioligy)    if Oday in Physics:        lesson.append(Physics)    if Oday in Chemistry:        lesson.append(Chemistry)    if Oday in Computing:        lesson.append(Computing)    if Oday in History:        lesson.append(History)    if Oday in PE:        lesson.append(PE)    if Oday in BaV:        lesson.append(B&V)    if Oday in French:        lesson.append(French)    if Oday in Course42:        lesson.append(Course42)def WeekB(b):    Oday = (b + B)    if Oday in English:        lesson.append(English)    if Oday in Maths:        lesson.append(Maths)    if Oday in Bioligy:        lesson.append(Bioligy)    if Oday in Physics:        lesson.append(Physics)    if Oday in Chemistry:        lesson.append(Chemistry)    if Oday in Computing:        lesson.append(Computing)    if Oday in History:        lesson.append(History)    if Oday in PE:        lesson.append(PE)    if Oday in BaV:        lesson.append(B&V)    if Oday in French:        lesson.append(French)    if Oday in Course42:        lesson.append(Course42)WeekA(day)content = (You have  + Comma.join(lesson) + .)mail = smtplib.SMTP('smtp.gmail.com',587)mail.ehlo()mail.starttls()mail.login('*email*','*password*')mail.sendmail('*email*','*email*', content)mail.close()
Telling me what lesson I have tomorrow and emailing me the results
python;python 3.x;email