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
Step: 1
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 ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started