Answer:
yea
Step-by-step explanation:
Answer:
lst1 = [4, 3, 2, 6, 2]
lst2 = [1, 2, 4]
new_lst = []
for i in lst1:
if i in lst2:
new_lst.append(i)
new_lst.sort()
print(new_lst)
Step-by-step explanation:
The code is written in python.
lst1 = [4, 3, 2, 6, 2]
The variable lst1 represent a list of integers.
lst2 = [1, 2, 4]
The variable lst2 represent a list of integers.
new_lst = []
An empty variable is created new_lst and it is used to store the values of lst1 that is in lst2.
for i in lst1:
The code loop through integers in lst1.
if i in lst2:
This code means if any of the value in lst1 is in lst2.
new_lst.append(i)
This code put the same values found in lst1 and lst2 in a new list(new_lst)
new_lst.sort()
We sort the value of the new list from the smallest to the biggest.
print(new_lst)
The new list is displayed
Ok so to start let's put everything we know in some expressions
Words: In September, John read a total of p pages.
September: p
Words: In October, he read twice as many pages than he read in September
October: 2p
Words: November, he read triple the number of pages that he read in October
November: 3 x October
Then, we know what October is (2p), so we can substitute it into the third expression to get 3 x 2p or 6p. In November, John read 6p pages, or 6 times as many as he read in September.
Note: The fact that he read 120 pages in December is just in there to distract you. It's never connected to any of the other months, and since our equation can be in terms of p we don't need to know the actual number of pages
If I can help with anything else just let me know :)
235/4 equals 58.75
Hope this helps!
Answer:
1.232323232323 excetera
Step-by-step explanation: