0% found this document useful (0 votes)
93 views

Raspberry Pi Notes2

This document provides a tutorial for Raspberry Pi introduction to Python programming. It covers printing, variables, basic math operators, variable types, string concatenation, casting integers to strings, Booleans, inequalities, if/else statements, lists and their methods, adding lists together, sets, for loops, indexing and splitting strings, tuples, and dictionaries. It includes instructions for downloading and running the intro.py file to see code examples and output.

Uploaded by

api-284769767
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
93 views

Raspberry Pi Notes2

This document provides a tutorial for Raspberry Pi introduction to Python programming. It covers printing, variables, basic math operators, variable types, string concatenation, casting integers to strings, Booleans, inequalities, if/else statements, lists and their methods, adding lists together, sets, for loops, indexing and splitting strings, tuples, and dictionaries. It includes instructions for downloading and running the intro.py file to see code examples and output.

Uploaded by

api-284769767
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Raspberry Pi Tutorial

Forintroductiontopythonprogrammingcoveringthefollowing:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

Printing
Variables
Basicmathsoperators(add,subtract,multiply)
Basicvariabletypes(strings,integers)
Concatenatingstrings
Castinganintegertoastring
Booleans(True/False)
Inequalities(GreaterThan/LessThan)
If/Elsestatements
Lists
Listmethods(append,extend)
Addingliststogetherwith+
Sets
ForLoops
Indexingstrings
Splittingstrings
Tuples
Dictionaries
HOWTOU
E
Ensureyouarepluggedintotheinternetand
Runthecommand

wgethttp://goo.gl/0ZDOdXOintro.pynocheck
certificate
andopenwith
idle3intro.py&.
RunthefilewithF5toseetheoutputthengobacktothecodeandread
theinstructions,editaway,saveandrunagain.

You might also like