DEV Community

subash
subash

Posted on

CONTROL FLOW STATEMENT

Programming Rules:
1) Don't say I don't know
2) Let me Try
3) Known To Unknown
4) Don't Think about entire output
5) Think about very next step
6) Introduce variable if you feel it is necessary
7) Micro To Macro

BOX is memory to store,

a=10

a is references variable

now we change

a = a+5

now a value is 15 but , that box is not changed , the value will modify in the same box or memory.

count = 1
while count<=5:
print(1, end=' hi ')
count=count+1

indefault /n in end , that means print next line

Top comments (0)