Created
October 25, 2020 12:22
-
-
Save charlieInDen/f0e232e065f1de5184d0e9b15398ad28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
names = input("Enter names separated by commas: ").title().split(",") | |
assignments = input("Enter assignment counts separated by commas: ").split(",") | |
grades = input("Enter grades separated by commas: ").split(",") | |
message = "Hi {},\n\nThis is a reminder that you have {} assignments left to \ | |
submit before you can graduate. You're current grade is {} and can increase \ | |
to {} if you submit all assignments before the due date.\n\n" | |
for name, assignment, grade in zip(names, assignments, grades): | |
print(message.format(name, assignment, grade, int(grade) + int(assignment)*2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment