Answer:
def prompt_number():
while True:
number = int(input("Enter a number: "))
if number >= 0:
break
return number
def compute_sum(n1, n2, n3):
total = n1 + n2 + n3
return total
n1 = prompt_number()
n2 = prompt_number()
n3 = prompt_number()
result = compute_sum(n1, n2, n3)
print(result)
Explanation:
Create a function named prompt_number that asks the user to enter a number until a positive number or 0 is entered and returns the number
Create a function named compute_sum that takes three numbers, sums them and returns the sum
Ask the user to enter three numbers, call the prompt_number() three times and assign the values
Calculate the the sum, call the compute_sum and pass the numbers as parameters
Print the result
Answer:
B
Explanation:
In an ERD, the Crow Foot Notation Symbols are used with cardinality.
Hope it helps you
Answer: 9.5%
Explanation: There were nearly 5 million English language learners in U.S. public schools in fall 2015, according to the most recent available data from the National Center for Education Statistics. This represented 9.5% of U.S. public school enrollees, an increase from 8.1% in 2000
Answer:
Quantitative: Age, heart rate, number of pets, salary
<em>discrete</em>: number of pets
<em>continuous</em>: Age, heart rate, salary
Categorical: Gender, eye color, metal rankings
<em>Nominal:</em> Gender, eye color
<em>Ordinal:</em> metal rankings
Explanation:
Quantitative are those variables which are for quantity or number with units for measurement.
Categorical are qualitative variable which can be categorized or grouped in different groups or it may be ranking scales
Answer:
um ahh <em> </em><em>badl</em><em>y</em><em> </em>
Explanation:
i really don't know the answer