python nicholas cousino wra 150. what is it? programming language general purpose high-level...

Post on 13-Jan-2016

223 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Python

Nicholas Cousino

WRA 150

What is it?

• Programming Language• General Purpose• High-Level• Readability

Readability

command = input("What would you like to do?").lower()

elif command == "accounting":

total = 0.00

for item in prices:

total += prices[item] * stock[item]

print ("Total Inventory equals

${amount}".format(amount=total))

What can Python do?• A simple version of Battleship!

• Other projects on website http://www.msu.edu/~cousin46

Package

Battleship!

• A quick glance at the source code…

Battleship!

• Hardest Part:Learning what individual lines do

Battleship!

• It gets easier!

Learning Python

• Codecademy• Resources from Department of

Computer Science and Engineering

Outcome

• I learned Python

Outcome

• I learned Python• I learned the basics… … But a good foundation

Outcome

• More to learn, but I did get a good start

Works Cited

Codecademy. N.p., n.d. Web. 31 Mar.

2014.

McCullen, Mark. CSE 231. Michigan

State University, East Lansing.

Lecture

top related