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
Which of the following is a preferable method to secure wireless access in a SOHO?
NARA [144]
Use a Ghost program follow throught with 2hyttlg5:6\:56
6 0
3 years ago
Java and Python are considered rapid development programming languages?<br><br> True<br><br> False
Zepler [3.9K]
That is true because Java was considered a rapid development programming language
8 0
4 years ago
Read 2 more answers
Entering the search criteria "B?" would yield which of the following results? A. Bedford B. Be C. Birmingham D. Bentonville
lidiya [134]
It would be either one i belive... but i would choose C if your talking about google
4 0
3 years ago
Read 2 more answers
Katrina studied hard for a biology test about the anatomy of a frog, but she did poorly and is using the "glows and grows” strat
melomori [17]

Answer:

how the frog grows through its life

Explanation:

7 0
3 years ago
What does it mean to connect a circuit in parallel versus series?
Ira Lisetskai [31]

Below picture is the easiest explanation.

Resistors R1 and R2 are connected in series, whereas R3 and R4 are in parallel.

For the current it means that the current through R1 and R2 is always equal, which is not the case for R3 and R4, there the current splits depending on the R value.

For the voltage it means that the voltage over R3 and R4 is always the same, regardless of the R value.

8 0
3 years ago
Other questions:
  • A(n) monitoring vulnerability scanner is one that listens in on the network and determines vulnerable versions of both server an
    7·1 answer
  • Technology offers a variety of rich opportunities available to teachers and students. According to Inan and Lowther (2010), ther
    6·1 answer
  • The best place to start when you are looking for information about a device or an application is the ____ of the company that ma
    14·1 answer
  • Ladders are a fundamental piece of equipment on construction sites and employers are expected to ensure that workers follow safe
    5·1 answer
  • 2. Sometimes, validating the HTML code for a web page will help you debug an application, because a. the page won’t run in a bro
    10·1 answer
  • PLZ help
    5·1 answer
  • The purpose of a database is to help people stop using spreadsheets.
    10·1 answer
  • Which programming languages are the best choices for desktop applications? Select 3 options.
    8·2 answers
  • View One | View All
    10·1 answer
  • Scenario: The deputy incident commander will be replacing the current incident commander, who needs to attend to a family emerge
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!