What happened on the holidays?
Python is a powerful programming language that you can use to create amazing projects! Python is a text-based language, which means you can use it to write instructions for a computer to understand. Learning to code with Python can help you understand how to think more logically and solve problems!
Getting Started with Python Text-based Coding!
Syntax - The set of rules for writing instructions in a programming language. Variables - A piece of data that can be changed or used in a program. Functions - A set of instructions that performs a specific task when called upon.
Python is used to develop software for some of the world’s most popular video games. Python is the official language of Google’s YouTube. Python is the most popular programming language for robotics applications.
Did you know?
What is an algorithm and what is a program?
What is the difference between visual/block code and Python syntax?
What similarities do you notice between visual/block code and Python syntax?
Brain break: Draw a hot air balloon animal with floppy ears and a goofy face
Question: How can you use Python to create a text-based coding project? Clues: • There are ideas on how mcrobits can be used on makecode.microbit.org • Python can help you create projects that are interactive and fun In pairs: Select and solve the tasks: A. Work in pairs to create a coding project using Python. Head to makecode.microbit.org and follow one tutorial B. Create an account on https://www.codechef.com/ selecting you are new to programming, want to learn a new language, python. C. Create a drawing of how you could use python.
What is the first step to begin coding with Python?
- Install Python on your computer
- Buy a book about Python
- Watch YouTube tutorials
- Join an online coding bootcamp
What is the correct file extension for a Python script?
Which of these is NOT a data type in Python?
What do we call the process of finding and fixing errors in our code?
Work together in pairs: Q: What are three key elements of writing code in Python?