hi all .....

for(i=0, i<680,i++):
        i =m

wen i run a program it is showing error in for loop like wen i run a program it is showing error in for loop .....

hi all....

for(i=0, i<680,i++):
           i =m

wen i run a program it is showing error in for loop like
SyntaxError: invalid syntax

can any one plz help me wat is wrong in tat syntax

You are trying to use C syntax in Python. Python loops over a range of integers look like this:

for i in range(680):
  print(i)

Look here ... or perhaps you should start at the top of the tutorial

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.