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, 23.06.2019 14:00
Select the correct answer. a company is currently focusing on creating specific management goals for itself. which level of maturity is the company demonstrating under the sse_ccm framework? a. performed informally b. planned and tracked c. quantitatively controlled d. well-defined e. continuously improving
Answers: 2
question
Computers and Technology, 23.06.2019 21:40
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
question
Computers and Technology, 23.06.2019 21:50
Description: write function lastfirst() that takes one argument—a list of strings of the format "lastname, firstname" —and returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
question
Computers and Technology, 24.06.2019 16:30
What is the item which could be matched with a statement below? software installed on a computer that produces pop-up ads using your browser an example of social engineering malware loads itself before the os boot is complete type of spyware that tracks your keystrokes, including passwords windows key + l the practice of tricking people into giving out private information or allowing unsafe programs into the network or computer when someone who is unauthorized follows the employee through a secured entrance to a room or building a type of malware that tricks you into opening it by substituting itself for a legitimate program a computer that has been hacked, and the hacker is using the computer to run repetitive software in the background without the user's knowledge an infestation designed to copy itself repeatedly to memory, on drive space, or on a network
Answers: 1
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, 19.01.2021 01:00
question
Computers and Technology, 19.01.2021 01:00
question
Mathematics, 19.01.2021 01:00
question
Mathematics, 19.01.2021 01:00
Questions on the website: 13722362