Question: You are creating an application that will feed into a Tourism business database for location of interesting sites in the country (Ghana.) Your application is

You are creating an application that will feed into a Tourism business database for location of interesting sites in the country (Ghana.)
Your application is a simple command-line interface that will query the users on mobile phone using
USSD.
The application will ask the user for the following:
1. Name
2. Region
3. Category
4. Name of interesting find
5. What makes it special
The application framework will be handled by senior developers.
Task to do
Your task is to create a simple python command line application that will ask the user for the name,
region, category, name of point of interest and point of interest comment. The following are
requirements:
a. The region must be a valid region in the country(namely: greater accra,northwest,northern,savannah,upper east, upper west,western,north east,oti,volta,brong ahafo,bono east,Ashanti,Ahafo, western north)
b. The category must be taken from this list: [Music, Dance, Art, Food, Industry, History, Nature,
Other]
c. The details should be saved to a single text file. New entries should be appended to the file.
Extra marks for saving the text file as a CSV or a JSON format useful for importing into another system.

Step by Step Solution

3.45 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Please find below the code in python I have added comments in the code for you to understand I have saved the data in json format import json to read ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!