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
DiKsa [7]
2 years ago
6

Write an expression that prints 'You must be rich!' if the variables young and famous are both True.

Computers and Technology
1 answer:
Rufina [12.5K]2 years ago
4 0

Answer:

Following are the expression to this question:

if (young and famous==True):

Explanation:

For print, the given expression the code requires some modification that can be defined as follows:

young = True#defining a bool variable that holds a value True

famous = True#defining a bool variable that holds a value True

if (young and famous==True):#defining if block that check variable value

   print('You must be rich!')#print message

else:#else block  

   print('There is always the lottery...')#print message

Output:

You must be rich!

Code explanation:

In the above-given code, two variable "young and famous" is declared, that hold a "True" which is a bool value, in this code, a conditional statement has used, that checks variable value, which can be defined as follows:

  • In the if block, it uses the above declared variable with and gate to check its value is equal to true.
  • If the condition is true, it will print the true block message, otherwise, go to the else block in this, it will print the else block message.
You might be interested in
John works as a sales representative with Northwind Traders. He has to make a presentation to his customers in another town. The
Sphinxa [80]

Answer:

Laptop.

Explanation:

In the following scenario, John works in the company as the sales representative and he creates a presentation for his users who belongs to another town. The following presentation contains 10GB storage and he also modifying his presentation at the time of traveling.

So, It is clear that he is not using the Mainframe, PDA, or any other desktop computer, he will using his Laptop.

8 0
3 years ago
Which text format is this “The transcribed text does not include speech errors, false starts and various filler words, such as:
AnnZ [28]

The answer is Clean Verbatim. In Clean Verbatim, the transcription does not include speech errors, false starts, and various filler words. It removes all of the so-called ‘extras’ that you may hear in an audio or video recording – “umms,” “likes,” “you knows” and other filler words, as well as stuttering. Clean Verbatim is ideal for business and marketing transcription purposes.

6 0
3 years ago
According to the segment, which of the following should graphic designers maintain?
gogolik [260]

Answer:D

Explanation:

3 0
2 years ago
Why hasn't 3D printing been more publicly used?
marshall27 [118]

Answer:

Probably because it's really expensive and not well known.

Explanation:

Some metals and plastic are not able to be altered for 3D printing, which makes this harder for some people to get hold of. Most of the materials are also not able to be recycled, which makes it harder.

3 0
2 years ago
Linux distributions automatically come with a native software firewall.TrueFalse
Elodia [21]

Answer:

False.

Explanation:

Ubuntu which is an linux distribution and it is based on debian. Ubuntu does not come with automatic firewall and we also have to manually enable the firewall after installing it otherwise it will be disabled.

You can control the firewall from a graphical interface.

Hence the answer to this question is False.

3 0
3 years ago
Other questions:
  • A token is combination of hardware and software that acts as a gatekeeper and prevents unauthorized users from accessing private
    11·1 answer
  • You are attempting to upgrade a Windows Server 2008 R2 server to Windows Server 2016 Standard. What must be done in order to acc
    5·1 answer
  • Which method is an easy way to find a short description of a function?
    5·2 answers
  • Which elements of photography does the Iso rating apply
    6·1 answer
  • JAVA
    7·1 answer
  • Determine the following information about each value in a list of positive integers.
    14·1 answer
  • Every single device can be connected to every other device on network, making the network mesh. This statement is True or False?
    8·1 answer
  • Give me two reasons why return statements are used in code.
    10·2 answers
  • 10 computer and operating systems errors​
    5·2 answers
  • Beginning in cell B21, complete the series of substitution values ranging from $35 to $45 in increments of $2.50 vertically down
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!