Skip to content

geonwoo-jeong/challenge-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Python Challenge

Day1

Quiz

Day2

https://repl.it/@geonwoojeong/Day-Two-Blueprint


Challenge:

This code is broken. There are some functions missing, you need to create them.

When you run the code, the output must look like this:



You need to create the following functions:

is_on_list
get_x
add_x
remove_x
DO NOT change anything inside of the "DO NOT TOUCH AREA"

Day3

https://repl.it/@geonwoojeong/Day-Three-Blueprint-1


You need to complete the following functions:

add_to_dict
get_from_dict
update_word
delete_from_dict
All this functions should check for errors, follow the comments to see all cases you need to cover.

There should be NO ERRORS from Python in the console.

NOT change anything inside of the "DO NOT TOUCH AREA"

Day4

https://repl.it/@geonwoojeong/Day-Four-Blueprint

Challenge:

Using the boilerplate, make a program that gets urls as an input and checks if they are online or not.

The program should accept any number of URLs separated by comma, with or without 'http', with or without spaces, uppercase or lowercase. You need to handle all the cases.
You need to check if the URL is legit or not.
The user can restart the program after it's finished.


This is how the program should work:


Day5

https://repl.it/@geonwoojeong/Day-Five-Blueprint


Challenge:

Using the boilerplate, make a program that gets a list of countries from a website with their currency codes, then let the user choose a country and display the currency code of that country.

This is part one of a bigger "country scrapping" project we will complete in the following days.

This is how the program should work:





The website you should get the countries and currencies from is: https://www.iban.com/currency-codes
Save the name of the country and the "Alpha-3 code" in an array.
Some countries don't have currency (No universal currency), don't add them to the list.
Check the user input, only numbers from inside the country list are allowed.
When a country is selected, show the name and currency code.

Day6

https://repl.it/@geonwoojeong/Day-Six-Blueprint


Challenge:

Using yesterday's work, extend the functionality to accomplish the following:

After getting the countries and their codes let the user choose two countries.
Then let the user write an amount of currency they want to convert between country a and country b
Then send the two currency codes and the amounts to a URL like: https://transferwise.com/gb/currency-converter/gbp-to-usd-rate?amount=50
Use beautiful soup to scrape Transfer Wise to get the result of the conversion.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published