iwantcandy2002
25.02.2021 •
Computers and Technology
Quand on veut, on .
veut
doit
arrive
peut
Solved
Show answers
More tips
- F Food and Cooking How to salt lard?...
- W Work and Career Can Skill Alone Make You a Professional?...
- C Computers and Internet How to Top Up Your Skype Account Without Losing Money?...
- P Philosophy Unidentified Flying Object - What is the Nature of this Phenomenon?...
- F Family and Home Protect Your Home or Apartment from Pesky Ants...
- O Other What is a Disk Emulsifier and How Does it Work?...
- F Family and Home What does a newborn need?...
- F Family and Home Choosing the Right Car Seat for Your Child: Tips and Recommendations...
- F Food and Cooking How to Get Reconfirmation of Registration?...
Answers on questions: Computers and Technology
- C Computers and Technology Cual de los interruptores es utilizado para encender una sola lámpara a)DPST b)SPDT c) DPDT d)SPST...
- C Computers and Technology HELP PLEASE!! Explain what might have gone wrong in the following situation: Sandra is putting together a new computer and network out of used parts. She has sufficient...
- C Computers and Technology Write a function that takes a list and returns it’s first element...
- C Computers and Technology How can knowing internal and external parts of computer help me...
- E English Which sentence is gramatically correct? shall i borrow your car for the whole of next week? orshall i borrow your car for the whole next week?...
- B Biology Is a major excitatory neurotransmitter that regulates the release of dopamine....
- M Mathematics 35% of the 20 children in a class are boys how many boys are in the class plz with explanation...
- M Mathematics Determine the equation of a line in standard form that represents kelsa’s training progress. her progress corresponds to the points (1, 9.5) and (8, 6)...
- P Physics The time separating high tides is 12 hours and 25 minutes. a high tide occurs at 3: 10 p.m. the next low tides occur at 9: 30 am and 9: 00 pm the next day. true or false?...
- S Social Studies The first pharaohs of the new kingdom expanded egyptians what...
Ответ:
Bonjour,
Quand on veut, on peut.
Verbe "pouvoir" au présent :
je peux
tu peux
il, elle, on peut
nous pouvons
vous pouvez
ils, elles peuvent
Ответ:
jellybeans = 10
licorice = 35
delicious = (jellybeans > 20) or (licorice > 30) or ((jellybeans + licorice) > 40)
print(delicious)
Explanation:
*The code is in Python.
Set the jellybeans and licorice to any values you like
In order to have the value of True or False without using the if statement, we need to set delicious as boolean variable. As you may know, boolean variables are the variables that have a value of either True or False
Check if jellybeans is greater than 20 or not → (jellybeans > 20)
Check if licorice is greater than 30 or not → (licorice > 30)
Check if their sum is greater than 40 or not → ((jellybeans + licorice) > 40)
All of the above expressions are boolean expressions. They return True if the statement is correct. Otherwise, they return False
Also, note that we combined all the expressions with or
For these values → jellybeans = 10, licorice = 35:
The first statement returns False
The second statement returns True
The third statement returns True
delicious = False or True or True → True
Note that if the expressions are combined with or, the result will be True if one of the expression is True.