Question: Create a class: Using Python Make a class: A crying baby and you can ask it if it is crying, make it cry, and/or ask

Create a class: Using Python

Make a class:

A crying baby and you can ask it if it is crying, make it cry, and/or ask it for a reason (maybe it has an array of reasons like Im hungry etc and it returns back a reason).

A foodie class where you can initialize it to have a few food choices then ask it what you should eat, custom make a burger, or order food, etc. It can be anything as long as it is totally original.

Some imaginary or real math calculations that you invent or a graph or plot

Storing your favorite songs/playlist, or creating an art class, and then it stores and lets you add songs to it.

A sociopath, it could let you add sociopathic things he/she did such as Stole from moms wallet, on Jan 2, 2020, Lied to his boss on Dec 20, 2020, (etc get creative)

Feel-good quotes, you could ask for a quote to make you grateful, it gives you one, Asks for one to make you feel relaxed, and so on.

Eightball - shake the eight ball, get different fortunes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!