Create an Expert System  Using Python Colab


1. Using Python Colab, create an Expert system as follows:

Don't use plagiarized sources. Get Your Custom Essay on
Create an Expert System  Using Python Colab
Just from $13/Page
Order Essay


Display the message:

Welcome to the statistical distribution finder app

Ask the user:

Is the distribution continuous (measured on a real number scale) or discrete (measured with counts)?

If the user answers “continuous”, then follow-up with a second question:

Is the distribution skewed or symmetric?

If the user answers “skewed” display:

Try the exponential distribution

If the user answers “symmetric” display:

Try the normal distribution

Going back to the original question, if the user answers “discrete” follow-up with the question:

Is the data best described as

a.Successes out of a given number of trials or

b.The number of success (without a given number of trials)?

If the user answers “a” display:

Try the binomial distribution

If the user answers “b” display:

Try the Poisson distribution”)

Make sure to handle errors as well.

2.Debug the following python program (identify and fix 8 mistakes). When it is fixed, the program should ask a user their name, for five adjectives, for five animal names, and then randomly pick an adjective and randomly pick an animal name to display in a message with the user’s name. The program should then ask if you want to play again and start over if the user selects yes, or end if the user selects no. Submit your corrected code below:

random import

def madlibs():

n=int(input(“What is your name?”))



for i in range (0,5)

x=input(“Give an adjective that could be used to describe someone”)


y=input(“Give an animal”)




print(“%s” %n+” is a %s” %a+” person. Whose spirit animal is a %b” %s)

c=int(input(“Do you want to play again? type 1 for yes or 2 for no”))

if c = 1:





NOTE: use comments to denote each problem.

Academic Heros
Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

Our writers are encouraged to read and research widely to have rich information before writing clients’ papers. Therefore, be it high school or PhD level paper, it will always be a well-researched work handled by experts.

Professional and Experienced Academic Writers

For one to become part of our team, thorough interview and vetting is undertaken to make sure their academic level and experience are beyond reproach, hence enabling us give our clients top quality work.

Free Unlimited Revisions

Once you have received your paper and feel that some issues have been missed, just request for revision and it will be done. In addition, you can present your work to the tutor and he/she asks for improvement/changes, we are always ready to assist.

Prompt Delivery and 100% Money-Back-Guarantee

All our papers are sent to the clients before the deadline to allow them time to review the work before presenting to the tutor. If for some reason we feel our writers cannot meet the deadline, we will contact you to ask for more time. If this is not possible, then the paid amount will be refunded.

Original & Confidential

Our writers have been trained to ensure work produced is free of plagiarism. Software to check originality are also applied. Our clients’ information is highly guarded from third parties to ensure confidentiality is maintained.

24/7 Customer Support

Our support team is available 24 hours, 7 days a week. You can reach the team via live chat, email or phone call. You can always get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

You have had a hectic day, and still need to complete your assignment, yet it is late at night. No need to panic. Place your order with us, retire to bed, and once you wake up, the paper will be ready.


Essay Writing Service

It does not matter the urgency of your paper, or the academic level, our team is ready to help you 24/7. Just contact us and all your academic needs will be sorted.


Admission Essays & Business Writing Help

A student is often required to write an admission letter requesting to be admitted in a certain institution. For you to be gain that admission in your dream institution, you must write a convincing letter. You can depend on our team for the best admission letters.


Editing Support

Academic writing is not just about getting information and throwing it all over. Our team will ensure you have a polished paper that is coherent and has a good flow of information. We also ensure the paper follows the correct formatting styles like APA, Harvard, MLA, Chicago/Turabian.


Revision Support

If our writers write a paper but you are not satisfied in one way or another, you can always ask for revision. This is totally free. Our writers and editors will revise your paper untill you are be totally satisfied. We as well offer revision for papers not done by our writers at a small fee.