Computers and Technology
Computers and Technology, 13.10.2020 03:01, nady82

(Python) A) For the given list below (i. e., mylist), split the list into two lists. One list should only contain numbers. The other one should only have strings.
# your code goes in here
mylist = ['Mobile', 'Laptop', 100, 'Camera', 310.28, 'Speakers', 27.00,
'Television', 1000, 'Laptop Case', 'Camera Lens'] # do not change this
string_list = # fill in here
number_list = # fill in here
print(string_list, number_list) # do not change this
B) For the given dictionary below, remove the key and value pairs if value is more than 600. So your code should give {'PLAYSTATION': 500, 'SMART WATCH': 550, 'TABLET': 400}
products = {'SMART WATCH': 550,'PHONE' : 1000, 'PLAYSTATION': 500, 'LAPTOP' : 1550,
'MUSIC PLAYER' : 600, 'TABLET' : 400} # do not change this
products_less_than_600 = {} # do not change this
# fill in here
print(products_less_than_600) # do not change this

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:30, kieraweems2034
Communication is the exchange of information. true false
Answers: 2
image
Computers and Technology, 23.06.2019 06:00, hilarydodard7099
Which statistical function in a spreadsheet you to see how far each number varies, on average, from the average value of the list?
Answers: 2
image
Computers and Technology, 24.06.2019 01:30, tanya44737
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
image
Computers and Technology, 24.06.2019 06:00, bzhsh8282
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
Do you know the correct answer?
(Python) A) For the given list below (i. e., mylist), split the list into two lists. One list shoul...

Questions in other subjects:

Konu
Mathematics, 18.04.2021 14:00
Konu
Health, 18.04.2021 14:00
Konu
Mathematics, 18.04.2021 14:00
Konu
Mathematics, 18.04.2021 14:00