Notas
Sem título
Conteúdo das notas (1)
Página 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
Informações
- Descrição
- Notas sobre Sem título, criado por Basant Lal em 06-06-2019.
- Criado por
- Basant Lal · jun 2019
- Atualizado
- 6 jun 2019
- Visualizações
- 0
- Avaliação