Python assignment For this assignment, you will need to complete a few Python modules available online at the Codeacadmy site.
| 1 pages
| 181 words
| 368 views
Trusted by 2+ million users, 1000+ happy students everyday
Showing pages 1 to 1 of 1 pages
Python assignmentFor this assignment, you will need to complete a few Python modules available online at the Codeacadmy site. The site has been written for Python 2.x and not for Python 3.x, though from our perspective, the differences are very minor.Probably a couple of differences you need to be aware of are:•when you print in Python 2, you do not list parenthesis, e.g.print "Hello"•when you read input in Python 2, you will see the raw_inputfunction used instead of input•the division operator / results depend on the type of operands - if two integers are used, it performs integer division. Each module below needs to be finished - incomplete modules do not count.Go the site http://www.codecademy.com/en/tracks/python(Links to an external site.)and create an account. Log in and complete the following modules:•Date and Time •Python Lists and Dictionaries •A Day at the Supermarket •Student Becomes the Teacher •Battleship Practice Makes Perfect
Found this document preview useful?
You are reading a preview Upload your documents to download or Become a Desklib member to get accesss