Course Details:

    Students will need either an account at Replit.com (https://replit.com) or the ability to create a project directory and files on their own file system. If they choose to work locally, they will also need a suitable editor capable of loading and saving plain text files (e.g., files with no extra formatting). Visual Studio Code (https://code.visualstudio.com) is recommended.

    Basic Python Programming – Calculator

    $100.00

    Create a four-function calculator using Python in this 4-week mini-course. Students will use the PySimpleGUI library to create a graphical calculator capable of doing addition, subtraction, multiplication, and division.

    Section Options / Enroll:

    Description

    Python is one of the most popular programming languages used in industry today. It is extremely versatile and can be used to create many different types of applications. Further, due to its English-like syntax and because it uses less punctuation than most other text-based languages, it is very easy to learn.

    In this course, students will use Python with the PySimpleGUI library to create a four-function calculator capable of performing addition, subtraction, multiplication, and division. They will define a layout for the calculator and learn the basic structure for most PySimpleGUI applications. They will also learn about program state and how much effort generally goes into error handling and prevention.

    The course will meet virtually for approximately one hour weekly for four weeks. In each interactive session, the instructor will provide instruction, lead guided practice, and answer questions. Students will then be given an assignment to complete on their own to complete before the next session. Students can contact the instructor between sessions via email (or an equivalent medium), and the instructor will provide feedback and suggestions on the assignments.

    Students who complete this course as well as

    * Basic Python Programming – Hello, World!
    * Basic Python Programming – Tic Tac Toe
    * Basic Python Programming – Lost and Found

    are eligible for a one-semester credit for a course entitled “Basic Python Programming.”

    Lesson Schedule

    1Laying out calculatorIn this lesson, students will create the basic layout for the calculator. They will write a Python program to display the calculator and run the main program loop.
    2Basic arithmeticIn this lesson, students will a command handler to perform the four basic arithmetic operations.
    3Chaining operations
    In this lesson, students will add the ability for the user to use the result of one calculation as the first operand for the next.
    4Handling errors and unexpected errorsIn this lesson, students will identify and address ways the user might use the calculator that could cause unexpected or undesirable behaviors.

    Class Introduction Video

     

    Taught From a Christian Perspective

    Coding & Tech:

    The fact that humans have the knowledge and ingenuity to create something as complex as a computer and the programming languages used to create the applications that make it useful is a testament to God’s role as the Creator. It is further proof that we were created in His image and given just a small fraction of His abilities to serve as stewards of His world.

    All Classes:

    Our mission is to equip learners’ minds and shepherd their hearts. We want them to have saving faith in our Lord Jesus Christ and then develop a biblical worldview. This means they view their world, themselves, and God in a way that aligns with what the Bible teaches. This brings great peace and understanding to the believer because we serve a good, sovereign God. This course is taught with these goals in mind. In class, we may pray, read scripture, and discuss how to view the content from a Christian perspective.

    We have adopted The Master’s Seminary Doctrinal Statement.

    The Lemons-Aid Way

    Rich Content:

    For over a century, progressive education reform has been “anti-content,” which means they de-emphasize rich content and focus instructional time on things such as self-esteem and “skills” they hope will benefit a learner in the future. This is why American kids do so poorly in testing compared to nations with content-rich curricula. We want our learners to increase in knowledge and grow in wisdom, which our content-area experts foster while teaching.

    The Lemons-Aid Team

    Lemons-Aid teachers have a few things in common.
    ❤️ They love their students and value each of their unique strengths and personalities that make our classes special. Our classes can be described as fun, personal, academic, challenging, and supportive.
    🤩 We work to keep learners engaged, so there is always a degree of student accountability for their attention and focus, whether that be through asking them direct questions or by using the chatbox.
    đź’­ We know all kids can learn, but sometimes things are hard! To support students, we teach them how to develop effective thinking and learning habits that will bring them success in class and in life.
    🌟 Building relationships with students so they know we care about them helps us balance the high expectations we have for them regarding their effort, work quality, and behavior. Our students are encouraged, cared for, and they achieve!

    Robert Walsh

    GET TO KNOW MR. WALSH.

    Christian Teachers on Outschool

    This course is not offered on Outschool.

    Request a New Section

    Want to see this class offered at another time? Send a request, and we’ll see what we can do!