Rattlesnake 1

From Grundy
Revision as of 07:47, 1 October 2017 by Locacocinero (talk | contribs)
Jump to navigation Jump to search

Date: 1st October 2017

Youtube Problem Statement: https://www.youtube.com/watch?v=owsqKkR2Bc0&t=10s


Problem Statement:

Write a program in python to convert a given date to a day. The program should run in a loop and should keep asking if the user wants to quit. If the user wants to continue, he should be prompted to enter the date he wants to convert again.

Input format: You can choose any input format you want. However preferably it should be DD/MM/YYYY.

Output Format: The output should be the weekday, like "Monday", "Saturday" etc.

Example:

Enter a date to convert (DD/MM/YYYY):

- 14/01/2017

Saturday

Do you want to quit? (Y/N)

- Y


See also