A function: is a set of commands which can be run by calling it by name.
In Computer programming, a function refers to a group of organized, reusable set of commands (code) that are used to instruct a computer to perform a specific task i.e a single but related action.
Generally, a function receives or accepts data as an input, processes the data and then returns a single result or a set of results as the case may be.
Additionally, the name and arguments contained in a function must always be specified by a function. This makes it possible for a function to be run by a program by calling its name.
Read more: brainly.com/question/23838498
Oa line connecting only the highest and lowest values on a graph
O a line connecting all of the data points on a scatter plot
any line of data on a graph
Answer: C because a scatter plot is a graph with a line that passes through all of the variables. It does NOT compare/contrast 2 variables, but rather lots of them. Also, scatter plots aren't specific as to including only the highest and lowestpoints on the graph.
Explanation:
Answer:
import math
# Python program for presenting all the prime numbers till an agreed numeral
prime=[]
def findprimeinanarray(n):
print("Prime numbers admid", 1, "and", n, "are:")
j=0
flag=0
for n in range(1, n + 1):
# all prime numbers are greater than
if n > 1:
for i in range(2, n):
if (n % i) == 0:
flag=0
break
else:
flag=1
if flag==1:
prime.insert(j,n)
j=j+1
else:
continue
print(prime[:])
# A Python function for printing all the prime functions and a Python program to print prime factor
prime1=[]
j=0
# A function to print all the prime factors of a given number if it is not prime
def primeFact(num):
while num % 2==0:
prime1.insert(2,0)
num = num/2
# num should be odd at this breakpoint
# so we need a shift of 2 ( i = i + 2)
for i in range(3,int(math.sqrt(num))+1,2):
# while i divides num , print i ad divide num
while num % i== 0:
num = num /i
if num >2:
j=j+1
prime1.insert(num,j)
print(prime1[:])
# program to test the coderint
n=600
findprimeinanarray(7)
k = 45
primeFact(k)
Explanation:
import math
# Python program for presenting all the prime numbers till an agreed numeral
prime=[]
def findprimeinanarray(n):
print("Prime numbers admid", 1, "and", n, "are:")
j=0
flag=0
for n in range(1, n + 1):
# all prime numbers are greater than
if n > 1:
for i in range(2, n):
if (n % i) == 0:
flag=0
break
else:
flag=1
if flag==1:
prime.insert(j,n)
j=j+1
else:
continue
print(prime[:])
# A Python function for printing all the prime functions and a Python program to print prime factor
prime1=[]
j=0
# A function to print all the prime factors of a given number if it is not prime
def primeFact(num):
while num % 2==0:
prime1.insert(2,0)
num = num/2
# num should be odd at this breakpoint
# so we need a shift of 2 ( i = i + 2)
for i in range(3,int(math.sqrt(num))+1,2):
# while i divides num , print i ad divide num
while num % i== 0:
num = num /i
if num >2:
j=j+1
prime1.insert(num,j)
Answer: 2 lanes become 1
Explanation:
2 lanes become 1
Answer:
two things combine
Explanation:
1 Employee Hours Worked Amount Earned
2 Albert
$101.50
Brandon
19
$147.25
Callie
$164.45
Dora
$157.50
0-average(B2:C2)
O =average(C2:B2)
O =(C2/B2)
O =(B2/C2)
Answer:
It will be average (B2:C2)
as it will select all the data between B2 and C2