Coder Social home page Coder Social logo

thonny-python's Introduction

Thonny Python

This is my first python programming project on Raspberry Pi using Raspian OS. Additionally, this is my first project covering Git through Raspian OS.

Raspberry Pi 4 Set Up

  • Raspberry Pi 4 Model B with 1.5GHz 64-bit quad-core ARMv8 CPU 2 GB RAM
  • USB-C Power Supply (5-foot cable)
  • Raspberry Pi White/Red Case
  • Raspberry Pi Keyboard and Mouse
  • Micro HDMI to HDMI Cable (3-foot cable)
  • 16 GB MicroSD Card w/NOOBS

Challenges for GitHub Setup

  • Set up git authentication using token.
  • Permanently authenticating with Git repositories

Challenges completed for Python Program

Python Basics

  • Print Hello World!
  • Completed looping:
    • Identified colon symbol is used to tell Python that the next instruction should be part of the loop.
    • Identified that indentation is how Python tells the difference between instruction outside the loop and instructions inside the loop; the indented code is known as being nested.
      • Indentation is important in Python and one of the most common bug in Python (beware!).
    • Identified infinite looping and interupting program within Thonny Python IDE.
    • Completed conditional statement and variable assignment. Used conditional operators.

Python Project Challenge 1: Turtle Snowflakes

Learn how to play with graphics and create snowflake using python library, turtle.

  • Completed drawing of a parallelogram
  • Completed using loops to draw multiple parallelogram into a snowflake
  • Imported random library to create a randomly generated multicolor snowflake
  • Created a function within python branch() to automate snowflake drawing

thonny-python's People

Contributors

jia-von avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.