CSE 1010 Chapter Notes - Chapter 1, 3: Hostname, Comma-Separated Values, High-Level Programming Language

234 views3 pages
jadetortoise401 and 55 others unlocked
CSE 1010 Full Course Notes
84
CSE 1010 Full Course Notes
Verified Note
84 documents

Document Summary

Offers more structure and support for large programs than shell scripts or batch files. Allows you to split programs into modules than can be reused in other python modules. Enables programs to be written compactly and readably. Can explex complex operations in a single statement. No variable or argument declarations are necessary. Operations: +, -, *, / (it knows order of operations) Type float - number with fractional part (ex. Note: division always returns a floating point number. Floor division - get an integer disregarding remainders/fractional result; use //; % gives the remainder. Use = to assign a value to a variable. The last printed expression is assigned the variable _ Decimals, fractions, complex numbers, imaginary parts (j suffix) are also supported. Can use single quotes ( ") or double quotes ( ) or print() String literals - ones enclosed between quotes) Don"t want \ to be interpreted as a special character: r.

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