Welcome to Westonci.ca, the place where your questions find answers from a community of knowledgeable experts. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.
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](https://us-static.z-dn.net/files/db1/e0fb2a820b2831c0ec052de47da43a4d.png)
We appreciate your visit. Hopefully, the answers you found were beneficial. Don't hesitate to come back for more information. Thank you for choosing our platform. We're dedicated to providing the best answers for all your questions. Visit us again. We're here to help at Westonci.ca. Keep visiting for the best answers to your questions.