18.11.2014 Views

Zelle - Chapter 11.pdf - CTools

Zelle - Chapter 11.pdf - CTools

Zelle - Chapter 11.pdf - CTools

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

String Object<br />

x = “Hello World!”<br />

y = x.upper()<br />

print y<br />

When we access capabilities like<br />

upper() and apply it to a string<br />

object, we call this “accesing a<br />

method” within the string object.<br />

Objects contain data and a<br />

number of bits of code (methods).<br />

An object is anohter way of saying “smart variable”.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!