subject

Write code that checks a list of lottery numbers stored in the variable my_numbers against a list of winning numbers stored in the variable todays_pick. Assign the number of matching values to the variable num_matches. For example, if my_numbers is [35, 22, 7, 51, 15] and todays_pick is [51, 12, 35, 15, 7], the number of matches is 4. The numbers may be in any order in either list. Assume both lists have already been initialized.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
Dave has to create animations for a game. which tool can dave use?
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
Why is an outfitting a workspace with video games in a technology development company considered a strategic use of money
Answers: 1
question
Computers and Technology, 24.06.2019 12:50
When is it most apprpriate for a development team to change the definition of done
Answers: 1
question
Computers and Technology, 24.06.2019 19:30
Dtp allows you to manipulate text boxes in the following ways. more than 1 answer. a.move them b.rotate them c.resize them d.all of the above e.none of the above
Answers: 1
You know the right answer?
Write code that checks a list of lottery numbers stored in the variable my_numbers against a list of...
Questions