Answer:20*i
Explanation:
Because the size will expand as its being written out to then have i
Answer:
am/is=was
are=were
do=did
go=went
eat=ate
have=had
make=made
take=took
see=saw
fly=flew
sell=sold
tell=told
find=found
sent=sent
Explanation:
These are all present/ past tense
I hope this helps.
Question:
Write a function that adds together all values from 0 to a given value and returns the final number. For example, if the given value is `4`, you would add 0 + 1 + 2 + 3 + 4
Answer:
In Python:
def add_to_value(n):
sum = 0
for i in range(n+1):
sum = sum + i
return sum
Explanation:
This line defines the function
def add_to_value(n):
This line initializes sum to 0
sum = 0
The following iteration adds from 0 to n
<em> for i in range(n+1):</em>
<em> sum = sum + i</em>
This line returns the calculated sum
return sum