subject

(python homework)given the following code snippet, which statement tests to see if all three sets are equal? :

fruit = set(["apple", "banana", "grapes", "kiwi"])
fruit2 = set(["apple", "banana", "grapes", "kiwi"]
fruit3 = set(["apple", "banana", "pears", "kiwi"])

a. if fruit. equal(fruit2) and fruit. equal(fruit3) :

b. if fruit ! = fruit2 and fruit ! = fruit3 :

c. if fruit == fruit2 and fruit == fruit3 :

d. if fruit == fruit2 or fruit == fruit3 :

this is not from a freaking exam geez. exams are already over in florida for dual enrollment classes and this python class doesn't even have tests or exams.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Your company has 1,500 desktop computers running windows 7. you want to upgrade them to windows 10. which type of microsoft license would be best suited in this situation?
Answers: 3
question
Computers and Technology, 22.06.2019 21:30
Im doing this last minute and literally none of my neighbors or people that my dad works with use excel so if anyone could me make up an example
Answers: 1
question
Computers and Technology, 23.06.2019 03:10
Fill in the following program so that it will correctly calculate the price of the orange juice the user is buying based on the buy one get one sale.#include //main functionint main() { int cartons; float price, total; //prompt user for input information printf("what is the cost of one container of oj in dollars? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & price); printf("how many containers are you buying? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & cartons); if ( [ select ] ["cartons / 2", "cartons % 1", "cartons % 2", "cartons % price", "cartons / price", "cartons / total"] [ select ] ["=", "==", "! =", "< =", "> =", "< "] 0) total = [ select ] ["price * cartons", "cartons * price / 2 + price", "(cartons / 2) * price", "cartons / (2.0 * price)", "(cartons / 2.0) * price + price", "((cartons / 2) * price) + price"] ; else total = ((cartons / 2) * price) + price; printf("the total cost is $%.2f.\n", total); return 0; }
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
Answers: 1
You know the right answer?
(python homework)given the following code snippet, which statement tests to see if all three sets ar...
Questions
question
Mathematics, 26.04.2021 21:20
question
Mathematics, 26.04.2021 21:20
question
Mathematics, 26.04.2021 21:20
question
Mathematics, 26.04.2021 21:20
question
Mathematics, 26.04.2021 21:20
Questions on the website: 13722367