the home work can just be with simple loop ...

0 nawras chahbandar · August 9, 2015



'''
if we can make the complexity of algorithm so simple then  
why we have to make it complicated !!!
it just a for loop with start and end and step ...

#just a simple loop program 
'''
for y in range (4,101,4):
      print (y)

#i feel with CPU :angel:

Post a Reply

Replies

Oldest  Newest  Rating
0 Jeffrey Hong · August 9, 2015
i don't get it
0 Jeffrey Hong · August 9, 2015
Sorry, I get it. You're telling all the other people a different (simpler) notation for range in python.
this isn't exactly an algorithm. it's just a more concise notation.
  • 1

Python

107,325 followers
About

This section is all about snakes! Just kidding.

Links
Moderators
Bucky Roberts Administrator