repl.it
@anonymous/

SpiffyExtralargeLice

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
from datetime import*
s=[*map(int,input().split('-'))]
b=s[2]
print(date(*s).strftime(f"%-d{'th'if(3<b<21)+(23<b<31)else('st','nd','rd')[b%10-1]} %B %Y"))
Fetching token
?