LampPi

 

Projects

Python Intro

Python Intro

A Python learning tool, using the RaspberryPi, with beginner exercises in using variables, data structures and basic control flow. Instructions and guidance are given in comments in the file.

Compatible with both Python 3 and Python 2.

Also designed to be PEP-8 compliant to encourage good coding style.

Contents
◾ Printing
◾ Variables
◾ Basic maths operators (add, subtract, multiply)
◾ Basic variable types (strings, integers)
◾ Concatenating strings
◾ Casting an integer to a string
◾ Booleans (True / False)
◾ Inequalities (Greater Than / Less Than)
◾ If/Else statements
◾ Lists
◾ List methods (append, extend)
◾ Adding lists together with +
◾ Sets
◾ For Loops
◾ Indexing strings
◾ Splitting strings
◾ Tuples
◾ Dictionaries


About

Contact

Links

Site Map

© LampPi 2018