Answer:
- def getLargest(number_list):
- new_list = []
-
- for x in number_list:
- if(isinstance(x, int)):
- new_list.append(x)
-
- largest = max(new_list)
-
- return largest
Explanation:
Firstly, create a function <em>getLargest()</em> that take one input parameter, <em>number_list</em>.
The function will filter out the float type number from the list by using <em>isinstance() </em>method (Line 5). This method will check if a current x value is an integer. If so, the x value will be added to <em>new_list</em>.
Next, use Python built-in <em>max</em> function to get the largest integer from the <em>new_list </em>and return it as output.
Answer:
She needs to make time for offline and online activites.
Explanation:
The reason is because if you spend too much time online, you may have anxiety and depression. On the other hand, if you stay offline too much then, you will have trouble focusing on your hobbies, work, etc.
The school could have a block on what’s allowed to be connected to the chrome books. If they don’t let you charge your phone on it then you can’t listen to music with it- My experience at least.
Answer:
Inspect regularly. ...
Wear gloves. ...
Carry with care. ...
Don't pocket sharp objects. ...
Be aware of your surroundings. ...
Use the right tools.