« first day (396 days earlier)      last day (696 days later) » 

1:31 AM
Excerpt of my programming homework
        #
 #  Happy Homework - algorithm3
  # For a given list: [2,3,5,8,13,21,34,55,89,144,233], please write a proper searching
   # algorithm to solve the problem - Search the first element which is greater than or
#equal to the given value.
#    For example, if the given value is 7, you should output: "The first element which is
   #greater than or equal to 7 is: 8."
   #Hints:
#Your code must be complete and runnable, Pseudo code is not allowed.
    #      Any searching algorithm is allowed.
I'll finish it
 
2:06 AM
good
#
        #
 #  Happy Homework - algorithm3
  # For a given list: [2,3,5,8,13,21,34,55,89,144,233], please write a proper searching
   # algorithm to solve the problem - Search the first element which is greater than or
#equal to the given value.
#    For example, if the given value <<is 7, you should output: "The first element which is
   #greater than or equal to 7 is: 8 ""
   #Hints:
#Your code must be complete and runnable, Pseudo code is not allowed.
    ##     Any searching algorithm is allowed.
let's do a pep8 check ;-)
Check results
=============

E116:3:9:unexpected indentation (comment)
E114:4:2:indentation is not a multiple of four (comment)
E116:4:2:unexpected indentation (comment)
E114:5:3:indentation is not a multiple of four (comment)
E116:5:3:unexpected indentation (comment)
E501:5:80:line too long (87 > 79 characters)
E114:6:4:indentation is not a multiple of four (comment)
E116:6:4:unexpected indentation (comment)
E501:6:80:line too long (87 > 79 characters)
E265:7:1:block comment should start with '# '
 
7 messages moved from The Nineteenth Byte
 

« first day (396 days earlier)      last day (696 days later) »