I’m pretty sure you can; or u can also screenshot n send, which is what i usually doooo
Answer: "N" is considered as the size of the input that is being given in the algorithm.
Explanation: During a problem solving process , a algorithm is used to analyze the problem . Many function and steps are to be taken care of while analyzing algorithm. Among analyzing step, input is also given which is usually zero more than that . An input has a certain size which is given by the initial "N". The input size defines the length of the string for the input.
Answer:
1, 4, 7
Explanation:
The instruction in the question can be represented as:
for i in range(1,10,3):
print i
What the above code does is that:
It starts printing the value of i from 1
Increment by 3
Then stop printing at 9 (i.e.. 10 - 1)
So: The sequence is as follows
Print 1
Add 3, to give 4
Print 4
Add 3, to give 7
Print 7
Add 3, to give 10 (10 > 10 - 1).
So, it stops execution.