Discover the answers you need at Westonci.ca, where experts provide clear and concise information on various topics. Discover the answers you need from a community of experts ready to help you with their knowledge and experience in various fields. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

4.1.4 Fix This Program codehs pls

Sagot :

Answer:

brought_food = True

brought_drink = False

# These lines don't work! Fix them so that they do.

print "Did the person bring food? " + str(brought_food)

print "Did the person bring a drink? " + str(brought_drink)

Explanation:

i got 100%

In this exercise we have to use the knowledge of the python language to write the code, so we have to:

The code is in the attached photo.

What is a string?

String is a collection of alphabets, words or other characters. It is one of the primitive data structures and are the building blocks for data manipulation.

So to make it easier the code can be found at:

brought_food = True

brought_drink = False

# These lines don't work! Fix them so that they do.

print "Did the person bring food? " + str(brought_food)

print "Did the person bring a drink? " + str(brought_drink)

See more about python at brainly.com/question/26104476

View image lhmarianateixeira