Notes
Untitled
Content of the notes (1)
Page 1
Algorithms using Python
ALgorithm:
It is a way or (list of instructions) that is used to solve a programming problem in easy and efficient way.
In other words we can say that it is step-by-step solution of a program.It make easy to write a program in efficient way.
Ex:
write an algorithm to add n numbers?
Ans:
step 1:
function addNumbers(n)
result <---- 0
for i in range(n)
result+=i
return result
Information
- Description
- Note on Untitled, created by Basant Lal on 06/06/2019.
- Created by
- Basant Lal · Jun 2019
- Updated
- Jun 6, 2019
- Views
- 0
- Rating