How to get the lowest value from a tuple, contained within a list with other tuples as elements?
I'm inexperienced at programming, and essentially I've been assigned this problem/exercise to solve at uni: "Write a program in python which gets the date of Easter Orthodox Sunday during a specific year". I've been given an algorithm to follow and I've written the function: ortho_easter(year), which basically does the job (no issues there) and returns a tuple of the form: (day, month, year) Now, as a follow up question: "during the 21st century, what is the date that Easter Orthodox Sunday falls the earliest in the year?" This obviously calls for a for a for loop. for year in range(2000,2101)
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.