Section 1

Preview this deck

Naming a variable-assignment statement

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

1

All-time users

1

Favorites

0

Last updated

1 year ago

Date created

Mar 1, 2020

Cards (11)

Section 1

(11 cards)

Naming a variable-assignment statement

Front

there ate 3 parts to creating a variable its name type and value 1.)example today=Monday today is the variable name Monday is the value and its type in this vase is string which is individuated by the quotes

Back

console

Front

where your code displays on screen

Back

Keywords

Front

are reserved words that have special meaning in Python language because thy are reserved they cannot be used as variables example keywords are it while class import print

Back

input

Front

data that you are entering to your computer system

Back

string(str)

Front

letters numbers or special characters are always enclosed in quotes single or double

Back

output

Front

whats going to be displayed to printer projector ext

Back

print statement

Front

allows you to display the text on the screen

Back

Integer(int)

Front

whole numbers only

Back

variables(identifiers)

Front

are names we use to assign a value to something and python will save it in a memory location which will allows us to call it up as we need it the name is generally a description of what value would be for example today="Monday" 1.)variable names can be comprised of letter words words and numbers underscores

Back

floats

Front

are decimal numbers

Back

Booleans

Front

will be true or false value

Back