Git Product home page Git Product logo

python-countries-capitals's Introduction

Countries and Capitals

The goal for this project is that you can save, sort, show and send data 
by email entered by the user, remember that you must meet each of the 
requirements, then we show you what you should make.

Cuntry:

After receiving this command the program should ask the name of
country and expect the corresponding input, as a second step should ask the
name of the capital I just enter and wait for input
corresponding. Following this should give me the message:
"Thank you for adding a country with its capital".

Countries:

I must give the list of countries already entered.

Capitals:

I must give the list of capital already entered.

All:

I must give the list of countries with related capital.

All Sorted by Capital:

I must give the same result as all but ordering the outputs
alphabetically by name of the capital.

All Mail:

I must send an email to "[email protected]" with Everything

Concepts required

1. Variables
2. If/Else statements
3. Integers Numbers
4. Input/Output
5. Print
6. While or For Loops
7. Try
8. Dictionary
9. Clases
10. Documentation

I/O

Input Values

1. You must take into account the validation of the data entered by the user.
2. You can use words or numbers for the user to choose their options.

Output messages

1. Remember to show helps to the user when he did a wrong action 
in the application.

Running tests

Enter the directory of your project and run nosetests in the terminal. The code should work perfectly.

#Reflection Questions! Answer the following questions in the reflection.txt file.

1. What did you learn in this lesson?
2. Explain how you solved the storage of data.
3. What is a dictionary and because it is important?
4. Explain how you solved the sort data.
5. What are the best practices followed to build your application?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.