1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
xz_007 [3.2K]
3 years ago
12

PLS HELP WITH MY PYTHON HW ILL GIVE YOU BRAINLIEST

Computers and Technology
1 answer:
Nezavi [6.7K]3 years ago
4 0

Answer:

class Cat:

   isHungry = None

play = Cat().isHungry = True

eat = Cat().isHungry = False

if play:

   print("I am hungry, I cannot play")

else:

   play = Cat().isHungry = False

if eat:

   print("I am full, I cannot eat")

else:

   eat = Cat().isHungry = True

Explanation:

Just simple if and else statements.

You might be interested in
.Write a program that reads in the length and width of a rectangular yard (in meters) and the length and width of a rectangular
nata0808 [166]
What is the language you want for the code?
3 0
3 years ago
What are some other projects or things you do in your life (other than writing an essay) where you use an iterative process?
Sophie [7]

Answer:The iterative design process occurs in a continuous cycle involving three unique stages: formulate, test, evaluate. These core elements make up the basic progression in which the development of a game will follow. The rest is simply rinse and repeat

Explanation:

7 0
3 years ago
Read 2 more answers
If I want to copy a worksheet, I right-click the sheet on the bottom of the screen and click what menu item?
stellarik [79]
It depends on what application are you using
6 0
3 years ago
Which category of app does word processing software fall into? A. Productivity B. Entertainment C. Social networking D. Educatio
defon
A is the answer for this question
3 0
4 years ago
Read 2 more answers
You are creating a story map about Mexico. After configuring the web app template, you launch the app to test it. When the app o
navik [9.2K]
Nbdjsksjsidjdjwkwejd
3 0
3 years ago
Other questions:
  • What is the advantage of using a high-level language over machine language for writing computer programs?
    15·2 answers
  • Which of the following cannot be copyrighted? a. books b. inventions c. videos d. music
    7·1 answer
  • I like potatoes do you like potatoes
    15·2 answers
  • Write a program that receives a series of numbers from the user and allows the user to press the enter key to indicate that he o
    7·1 answer
  • You need to secure your wireless network. which security protocol would be the best choice
    10·1 answer
  • A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output i
    14·1 answer
  • What is the next line?
    14·1 answer
  • Is Microsoft team voice lagging for people who use it I want to know I only want to know if you use it ok not if you don’t.
    6·1 answer
  • In this assignment, you will implement an online banking system. Users can sign-up with the system, log in to the system, change
    14·1 answer
  • Of the following hard drives, which one is fastest?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!