Course Home Online Lessons
Related LinksOnline DevelopmentLessonsReferenceeBooks |
Another look at basic operatorsIn this section we'll look more closely at some of the operators we've been using. You should complete CONDITIONALS AND CONTROL FLOW in CodeAcademy before continuing with this page. Watch the video and follow along in the console
Then use the quizlet below to make sure the operators are committed to memory.
Now try this:
As a reminder, here's a version of a function you worked in CodeAcademy that has an if/else statement: def greater_less_equal_5(answer): if answer > 5: return 1 else: return 0 print greater_less_equal_5(4) print greater_less_equal_5(5) print greater_less_equal_5(6) Try some that have strings as input parameters
Quiz |
Leone Learning Systems, Inc. (LLS) is a North Shore company that provides online courses for kids anywhere and local teaching and tutoring services for students in Chicago and the Northern Suburbs of Chicagoland. LLS also provides a free geometry software package for children age 6 and up, and free resources for teachers and parents. This site includes information about classes taught, availability for tutoring, learning activities for kids, lesson plans, and ongoing software and curriculum research and development efforts. |