lect04 - UCF Physics: AST 5765/4762: (Advanced)...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
UCF Physics: AST 5765/4762: (Advanced) Astronomical Data Analysis Fall 2008 Lecture Notes: 4. Python Data and Programming 1 Summary Pre-Class: Copy handouts, demos, visuals to planets Lecture: Python Handouts: 2 Basic Python Demos: 11:25 — 11:45, 20 min Quick demo from Matplotlib tutorial 3 Python Basic Data Types: 10:35 — 10:55, 20 min what is a variable? string, int, long, float none and type in-class exercises: what is the largest number Python can hold? what is the smallest positive number Python can hold? what is the most negative number Python can hold? what is the largest negative number Python can hold? If one uses int, float, or complex, one gets the default precision for that type. Basic operations, precedence, promotion Overflow NaN, Inf, -Inf Integer division 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Python Basic Container Data Types: 10:55 — 11:05, 10 min Lists Tuples Dictionaries 5 Problems With Python Basic Container Data Types: 11:05
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

lect04 - UCF Physics: AST 5765/4762: (Advanced)...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online