<span>I can't imagine any reason "why" he should have behaved in such an extraordinary way.
If we were to use "how" in that sentence it would contradict the context. We are obviously talking about a situation that has happened so we know that "he" has in fact acted in an extraordinary way but we don't know "why" he acted that way. Therefore "why" is the correct term to use.</span>
Answer:
1. Using meaningful names for all variables and functions.
2. Use shorter blocks of codes wherever possible
Explanation:
Their code should be easy to read, this can be achieved by avoiding complex syntax, basically they should adopt the two methods stated in the answer
Answer:
I took a screenshot of the test withe that question
Explanation:
Answer:
n = int(input("Enter the n (positive odd integer): "))
for i in range(1, n+1, 2):
print(i*"*")
for i in range(n-2, 0, -2):
print(i*"*")
Explanation:
*The code is in Python.
Ask the user to enter the n
Create a for loop that iterates from 1 to n, incrementing by 2 in each iteration. Print the corresponding number of asterisks in each iteration
Create another for loop that iterates from n-2 to 1, decrementing by 2 in each iteration. Print the corresponding number of asterisks in each iteration
211x=6A•16
211x=96A
211x=96A
___. ___
211. 211
x=96A
___
211
It's hard to show fractions on here :•)