[go: up one dir, main page]

0% found this document useful (0 votes)
38 views1 page

3.3 Lesson2 Recap

An expression evaluates to a single value while a statement does not. IDLE is an editor used for entering code in files and the interactive shell has the >>> prompt. Common data types include integers, floats, and strings which hold text within quotes and values can be stored in variables to use in expressions.

Uploaded by

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

3.3 Lesson2 Recap

An expression evaluates to a single value while a statement does not. IDLE is an editor used for entering code in files and the interactive shell has the >>> prompt. Common data types include integers, floats, and strings which hold text within quotes and values can be stored in variables to use in expressions.

Uploaded by

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

An instruction that evaluates to a single value is an expression.

An instruction
that doesn't is a statement.
IDLE is an editor.
The interactive shell window has the >>> prompt.
The file editor window is where you enter code for complete programs.
Data types: int, float, string
Strings hold text and begin and end with quotes: ‘Hello world!'
Values can be stored in variables: spam = 42
Variables can be used anywhere values can be used in expressions: spam + 1

You might also like