- combining different datatypes – like whole numbers, decimals,
letters, and words. Usually involves typecasting.
o
Ie.
Input comes in as default type string (words) so if we want to do math with it
we have to convert it (typecast) into numbers à
§ Var = input()
§ Var = int(var) + 5
Integer
whole numbers. Usually called ints
Floating
decimal numbers
Operators
the things that do work – (+ / - * % < > == != <= >+ not and or)
Operand
- the things that get worked on (4 + 6) ß the four and six here
Value
is an expression that cannot be evaluated any further (a final answer)
Expression
- is a combination of explicit values, constant, variables, operators, and functions that are interpreted according to the particular rules of precedence.
Syntax
The way something is written (I <3 U vs I Love you)
Semantics
The - meaning behind how something is written – The same for the two syntax examples above
Variable
a storage location which contains some known or unknown piece of data
Assignment vs. equality
assigning (1 equal sign ) is setting a variable whereas equality (two equal signs) issused to check if things are the same
Statements
a single line of code to be executed
Evaluate expression-
to do the work in a line of code until a final answer
Unary operator
an operator that only applies to one variable. Ie . -6
Binary operator
an operator that applies to two variables. Ie 4 + 6
Author
nemothebest
ID
236422
Card Set
python (old) vocab
Description
the old vocab used last year idk if you need to know it by heart ... whateves... good luck