subject
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

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:40
How do i get the most points, without any effort?
Answers: 2
question
Computers and Technology, 22.06.2019 18:00
Martha is a healer, a healthcare provider, and an experienced nurse. she wants to share her daily experiences, as well as her 12 years of work knowledge, with people who may be interested in health and healing. which mode of internet communication can martha use?
Answers: 3
question
Computers and Technology, 22.06.2019 20:10
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
Answers: 3
You know the right answer?
(Python) A) For the given list below (i. e., mylist), split the list into two lists. One list shoul...
Questions
question
Mathematics, 09.02.2021 01:00
question
Mathematics, 09.02.2021 01:00
question
Mathematics, 09.02.2021 01:00
Questions on the website: 13722363