List comprehensions
Fibonacci sequence v1
Shortest version
!!!
!!!
!!!
Fibonacci sequence v2 (Binet formula)
!!!
!!!
Months with an ‘r’
Only eat oysters in months with an 'r'
Abbreviated name
Only eat oysters in months with an 'r'
Abbreviated name 2
Only eat oysters in months with an 'r'
List of leap years
Generate a list of leap years using a for loop
Generate a list of leap years using a list comprehension
Generate a list of leap years using a list comprehension