Python and Scratch Programming notes
40 notes by 34 users
This page gathers Python and Scratch Programming notes, from Python variables and errors to a note on Scratch. School students, university students and professional candidates can use them to practise Python, while teachers can find ready-made material. There are over 30 notes by more than 20 users. Pick a topic and start reading.
Select topic
- Python Basics74
- Python Variables, Data Types and Operators23
- Python Strings14
- Python Lists and Data Structures25
- Python Conditionals and Loops12
- Python Functions23
- Python Modules and Packages17
- Object-Oriented Programming in Python5
- Python for Data Analysis6
- Python Turtle Graphics12
- Python Arcade Graphics and Games17
- Python Game Projects11
- Scratch Basics and Blocks16
Notes
-
Basic Python Python is a widely used high-level programming language for general-purpose programming, created by Guido van Rossum and first released in 1991. An interpreted language, Python ...
-
PYTHON SAMPLE PROGRAMS
-
Mostly Asked Question
-
python A program is a list of instructions or statements under which a computer performs or executes a task in the order in which the inst. sets appear. x = 1 : assignment statement variable name : can be as long as yo...
-
Python Strings in python are surrounded by either single quotation marks or double quotation marks. 'hello' is the same as "hello". You can display a string literal with the print() function Assigning a string to a variable ...
-
Untitled 1. Python Interpreter: Python uses an interpreter, allowing you to write and execute code interactively. You can access the Python interpreter by typing python in your terminal or command prompt. 2. Basic Syntax: Comm...
-
Python Programming Notes Lambda Functions The following terms may be used interchangeably depending on the programming language type and culture: Anonymous functions Lambda functions Lambda expressions Lambda abstractions Lambda form Function...
-
Python Variables in python: there are 4 data types float,int,str,boolean to convert str(),bool(),int(),float() Python List: created using [], a collection of python types to get data of lists we use the index li...
-
Python Chapter 3 Test Study Guide Python Chp 3 Test Study Guide: Turtle 3.1 Notes: Our First Turtle Program import turtle: Tells Python to load module named turtle. wn = turtle.Screen(): creates a playground for turtles (wn is the variable t...
-
python
-
Untitled Propiedades de Listas list.append(x) Add an item to the end of the list. Equivalent to a[len(a):] = [x]. list.extend(iterable) Extend the list by appending all the items from the iterable. Equival...
-
python basic
-
Python chapter 1/part 1
-
Types of errors in Python Syntax errors:These are the first errors you will make and the easiest to fix. A syntax error means that you have violated the “grammar” rules of Python. Python does its best to point right at the line and character w...
-
functions in python "functions in python" A function is a block of code which only runs when it is called. You can pass data, known as parameters, into a function. A function can return data as a result. Creating a Function: ------------...
-
Untitled Type conversion type(varible) gives the type name you cannot simply sum strings and floats,/int/etc in print statement. Hence convert them into string by using function str. Similar functions such as ...
-
Untitled Boolean Control Flow Review: Boolean expressions are statements that can be either True or False A boolean variable is a variable that is set to either True or False. We can create boolea...
-
for loop over a function
-
Compsci: lecture 9/4 calling a function: gives the information you wanted to pass python doesn't care as long as you start and end with the same quotes. double or single quotes unnecessary to memorize function codes strings are fixe...
-
Python Syntax - creado desde un Mapa Mental Indentation Variables Comments
-
python
-
Python You might also find use for integer division, denoted by //. It divides one integer by another, but rather than giving the exact answer it rounds the answer down to an integer. (Note: it rounds down even if the a...
-
Python Default int type is long input taken is always interpretated as string . There are no characters, they are seen as string of length of 1 . Two other ways of iteration through the loop : iterator and generator Ge...
-
GCSE-Coding - created from Mind Map Function If and Else Statments variables
-
Python - Functions ## Example file for working with functions# (For Python 3.x, be sure to use the ExampleSnippets3.txt file)# define a functiondef func1(): print "I am a function"# function that takes argumentsdef func2(arg1, arg2): pr...
-
Python
-
strings
-
Untitled
-
Python - Loops
-
python Hour of code tech rocket escape sequence: manupilates string and makes it appear driffrently in consolenew line escape sequence: /n makes a new linee.g. print("people/n carl")5 standart types of data types:Numberic=NumbersStrings= message e.g...
-
Basic Python Programming For Games YOUTUBE - https://www.youtube.com/playlist?list=PL1D91F4E6E79E73E1LESSON PROPER - http://programarcadegames.com/index.php?chapter=foreword&lang=enINDEX OF EXAMPLES - http://programarcadegames.com/index.php?chapter=exa...
-
WHAT IS SCRACH???? - creado desde un Mapa Mental WHAT IS SCRATCH? Scratch is a kind of programation your own interactive stories, games and animations. you can shere whit an other person that are on another part of the world. WHAT IS THE LENGUAGE OF SCRA...
-
PYTHON A WHL file is a package saved in the Wheel format, which is the standard built-package format used for Python distributions. It contains all the files for a Python install and metadata, which inclu...
-
Python - Conditions ## Example file for working with conditional statements# (For Python 3.x, be sure to use the ExampleSnippets3.txt file)def main(): x, y = 100, 100 # conditional statements let you use "a if C else b" st = "x is less t...
-
Python - Classes ## Example file for working with classes# (For Python 3.x, be sure to use the ExampleSnippets3.txt file)class myClass(): def method1(self): print "myClass method1" def method2(self, someString): print "myClass method2...
-
Reserved terms in Python The reserved words in the language where humans talk to Python include the following: and del from not while as elif global or with assert else if pass yield break except import print class exec in raise continue fina...
-
Repaso Python The ABC company has hired you as an intern on the coding team that creates e-commerce applications. You must write a script that asks the user for a value. The value must be used as a whole number in a calculation, ev...
-
BB Chapter 1 Boolean operations = AND, OR, NOTA boolean expression (or logical expression) evaluates to one of two states true or false.Python provides the boolean type that can be either set to False or True.Many functions and op...
-
8. Our first Python Program 1 | name = input('what is your name') 2 | print(name) ------------------------------------------------------------------------------------------------------------------------------------ * line 1 takes the name in res...
-
Learn Python in One Day functions Print print () Compiler directives Comment Single line (hash character) # &n...
More Python and Scratch Programming resources
About python and scratch programming notes
GoConqr OriginalPython and Scratch Programming notes
These user-made notes cover Python basics, including variables, strings and data types, as well as errors, functions, loops and conditions. The listing also includes a note about Scratch. Each resource gives you written material to read at your own pace.
How to use the notes
For an introduction, start with the chapter notes on Python's print function, variables and data types. Then read Types of errors in Python to look at syntax errors. If you are working on a particular topic, choose Python - Loops, Python - Conditions or Python - Functions instead.
Read a short section, then try to explain the idea without looking at the notes. Return to the relevant passage if you need a reminder. When you are ready to check your understanding, switch to a quiz on the unit page; use flashcards there when you want to practise recall. Choose a note that matches the topic you are studying.
Frequently asked questions
Which notes should I start with?
If you are new to Python, try the chapter notes that introduce the print function, variables and data types. For a specific topic, choose a relevant note such as Types of errors in Python. Its opening section discusses syntax errors and what they mean.
What do the notes cover?
The listing includes notes on Python variables, strings, data types, errors, functions, loops and conditions. There is also a note about Scratch. Some notes introduce basics, while others focus on a particular topic, so you can choose according to what you are studying.
Are these notes free to use?
Yes. Every resource listed here is free to open and study without an account. A free account also lets you save quiz scores and make your own quizzes, mind maps, flashcards and notes. The resources on this page were made by GoConqr users.