0% found this document useful (0 votes)
27 views2 pages

Python Terms and Definitions Guide

The document provides definitions of key Python programming concepts including code, strings, integers, syntax, errors, programs, and debugging. It explains the significance of constructs like 'if & else', indentation, colons, and headers in programming. Additionally, it emphasizes the importance of precise syntax in coding, as computers require exact instructions.

Uploaded by

jacoxod778
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views2 pages

Python Terms and Definitions Guide

The document provides definitions of key Python programming concepts including code, strings, integers, syntax, errors, programs, and debugging. It explains the significance of constructs like 'if & else', indentation, colons, and headers in programming. Additionally, it emphasizes the importance of precise syntax in coding, as computers require exact instructions.

Uploaded by

jacoxod778
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Jacob Nixon Python Definitions

Code: This mean computer language.

String: A series of characters. They can contain numbers, letters or symbols such
as a colon.

Integer: Is a whole number. Not a number that contains a decimal point or written
as a fraction.

Syntax: The rules that determine how a programme will be structured so that it
can work properly.

Error: Something has gone wrong.

Program: A set of instructions that a computer follows to complete a task.

Print: It displays what ever you type into the brackets with speech marks (“hello”)

Comment: It is where you start with # and will not show up when you run the
code. It is like a private message.

Debug: to look for and correct errors.

If & Else : If and Else are powerful features where you can create different
outcomes IF certain criteria or numbers are met. Else the programme will do
something ELSE.

For example:

If 10 = 10 then print (“Hello”)

Else print (“Good morning”)

Indent: To make instructions visually clearer – python ignores the gap.

Colon: This is a colon : It indicates the start of a line of code.

Header : A header block are just comments at the top of the code. It doesn't print
when the program runs.
Syntax error

 Computers follow instructions EXACTLY!

 Computers are not good at dealing with nearly, almost, not quite.

 Syntax describes the rules that must be used when commands are written.

If answer ==4

 This means ‘equal’ to, as in “is it equal to?”

You might also like