diff --git a/Download/index.html b/Download/index.html index 84d1d56..73e9c0c 100644 --- a/Download/index.html +++ b/Download/index.html @@ -1,59 +1,23 @@ - - - - - - - - Tizen Download API - - - - - - - - -

Tizen Download API

- -
-

Available buttons/actions:

- -
- 1 - Downloaded file lists
- 2 - Start download - small file
- 3 - Start download - large file
- Pause - Pause download
- Play - Resume download
- Stop - Cancel download
- 0 - Clear logs -
- -
-
-
- -
- Downloaded files: -
-
- -
- Logs -
-
-
-
-

Info

- -

This application demonstrates the usage of Tizen download API

- -

The application downloads files from http://techslides.com and http://download.blender.org. If these domains are not accessible it will not work.
- - You can change the source location of files to download by changing the contents of url1 and url2 variables in main.js file

-
- - - - +# Birthday Manager Program + +# Dictionary to store birthdays +birthdays = {} + +def add_birthday(Sherya, 17): + """ + Add a birthday to the dictionary. + + :param name: Name of the person + :param date: Birthday date in the format '2007-01-17' + "" + birthdays[Sherya] = 17 + +def check_birthday(17): + """ + Check if the given date is someone's birthday. + + :param date: Date to check in the format 'YYYY-MM-DD' + :return: List of names who have their birthday on the given date + """ + birthday_people = [name for name, bday in birthdays.items() if bday == date] + return birthday_people