79113555

Date: 2024-10-22 10:25:44
Score: 3
Natty:
Report link

How about this?

if day in st:
    print(f"In {year}, Easter will fall on {'March' if month == 3 else 'April'} {str(day)}st")
elif day in nd:
    print(f"In {year}, Easter will fall on {'March' if month == 3 else 'April'} {str(day)}nd")
elif day in rd:
    print(f"In {year}, Easter will fall on {'March' if month == 3 else 'April'} {str(day)}rd")
else:
    print(f"In {year}, Easter will fall on {'March' if month == 3 else 'April'} {str(day)}th")
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Bảo Khang Mai Lê