Any ideia how to convert month number to roman ?
Eg: 4 => IV
I already get month number, i user
date = datetime.date.today()
month = date.month
For the next step, any ideia how to convert to roman number?
Thank you
>Solution :
The following should help:
# !pip install roman
import roman
# to roman
month = int(input('enter a month> ')) # 10
print(roman.toRoman(month))
The output as:
