CMPUT174 Lecture Notes - Lecture 6: Delimiter, Function Object, Terminal Emulator

10 views2 pages
5 Feb 2023
Course
Professor
ceruleanzebra152 and 30 others unlocked
CMPUT174 Full Course Notes
25
CMPUT174 Full Course Notes
Verified Note
25 documents

Document Summary

A keyword argument consists of an identifier that is the name of the keyword, followed by the assignment delimiter, which is a new delimiter often pronounced gets, and ends with an expression. Trying to use a keyword as an identifier results in a syntax error. A python program consists of a sequence of python statements. The python interpreter interprets a program by interpreting each statement in sequence, unless a statement explicitly changes this default order. A simple statement consists of a single line in a program. However, sometimes a single line is too long and wraps in the program pane. In this case, a single line number and continuation arrows are used to indicate that these two physical lines comprise a single logical line. A compound statement usually requires multiple lines in a program. We will talk about compound statements at another time.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions