1:31 AM
# # 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.
2:06 AM
# # # 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.
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 '# '
« first day (396 days earlier) ← previous day next day → last day (696 days later) »
Transcript for
Jun2
Jun '223
Jun4
♦ The Nineteenth Bakery
Trash for The Nineteenth Byte (commonly known as TN🍞)