Holcombe:Programming

From OpenWetWare
Jump to navigationJump to search

To understand Dani's programs, there are two steps. First, you must learn Spanish.

let's try uploading something File:Methods.doc,

Python programming Dr. Python is good because it checks indentation. Instead of using {} to delimit code blocks, it uses indentation like so: if X

 asdf
 asdf

dddd ---Each line needs to be offset by the same number of spaces/tabs. Dr. Python checks to make sure this is true so you're not tripped up by invisible characters like tabs masquerading as spaces

if X

 asdf
 asdf