Answer:
need help too
Step-by-step explanation:
<h2>Greatest percent</h2><h2>change?</h2>
<h2>=gain of 18 yards</h2><h2>Gain of 15 yards, then</h2>
<h2>one and 8 miles on</h2><h2>day two</h2>
<h2>Walking 5 miles on day</h2>
<h2>step by step please.........................,..:.................</h2>
Answer:
<em>In Python</em>
def sum(num):
total = 0
for i in range(1,num+1):
total = total + i
print(total)
i = int(input("User input [1 - 1000]: "))
if i >= 1 and i <= 1000:
sum(i)
else:
print("Invalid User Input")
Step-by-step explanation:
The function is declared here
def sum(num):
The sum is initialized to 0
total = 0
The following iteration calculates sum from 1 to the user input
for i in range(1,num+1):
total = total + i
The total is then printed
print(total)
The main begins here
This line prompts user for input
i = int(input("User input [1 - 1000]: "))
The following if condition ensures that user input is between 1 and 1000
<em>if i >= 1 and i <= 1000:</em>
<em> sum(i)</em>
<em>else:</em>
<em> print("Invalid User Input")</em>
Fin a common number all of the numbers shown have in common. Like multiply 7 x 5 x 6 and you get 210. and for .4 the simplified version of that in 2/5
200/5 = 40 miles per inch. 40x7=280 actual miles.