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:
ExplanKelly arrives for work at a restaurant at 5:00 p.m. Once there, she washes and chops vegetables, then sets aside ingredients and organizes them for the cook. Kelly is most likely a
✔ Food Preparation Worker
.
Mark's work hours change every week, depending on when he is needed. He wears a suit and tie to work at an elegant restaurant. He greets guests and seats them in a waiting area. He then guides them to their tables. Mark is most likely a
✔ Host
One of the most notable impacts of IT on business is improved efficiency of security communication.
<h3>What is security communication?</h3>
Security Communication Systems are said to be a vital aspect or part of works as well as in security mitigation measure.
The use of security communication in any organization is known to be the use of security tools to be able to keep the organization safe from any form of attack.
Note that One of the most notable impacts of IT on business is improved efficiency of security communication as it boast security of data.
Learn more about security communication from
brainly.com/question/25720881
#SPJ1
Answer:
C.Vector
Explanation:
Vector is a high level array used in C++.It has the capability of resizing itself when it gets full.it has many functions that increases it's functionality like size(),begin(),end(),erase(),clear(),push_back(),pop_back() and many more and we store any kind of data type in the vector.
syntax for declaring a vector:-
vector<data type> vector name.
Answer:
The program in python is as follows:
import math
def traj ect ory(th e ta,x,y,v):
t = ma th . tan(m ath . radians(theta))
c = math . cos(math . radians(theta))
g = 9 . 8
fx = x * t - (1/(2*v**2)) * ((g*x**2)/(c**2))+y
return round(fx,3)
print("x\t f(x)")
for x in range(0,17):
theta = 50
y= 10
v = 10
print(str(x)+"\t"+str(tr aje ctory (the ta,x,y,v)))
Explanation:
The question is incomplete. However, I have written the program to calculate the trajectory values f(x).
<em>See attachment for complete program where comments were used as explanation</em>