I have the task to do but I don't know how can I start. In output I need to give back day name and number.
I know how to get the day name but I can't find how to get number either. Could you suggest me something.
Data for the task:
data = (
data = """
monday;1250
tuesday;1405
wednesday;1750
thursday;1100
friday;0800
saturday;1225
sunday;1355
"""
My uncompleted code:
day = input("Insert day: ").lower()
if day in data:
print("""The day is "{}"\nThe number is: """.format(dzien))
The output should looks like:
The day is "day name"
The number is "number"