More to Python

From CompSciWiki
Revision as of 08:31, 5 April 2012 by GraemeP (Talk | contribs)

Jump to: navigation, search

COMP 1010 Home > Back to Extra Labs

Introduction

In the previous lab Introduction-to-Python you were taught what Python programming language is and some basic features of Python. In this lab we will go a little more in depth in regards to what other things we can do with Python. Furthermore, you will learn how to use Strings, Data structures (arrays, lists, tuples) and functions(Methods in Java) in Python.

caption

String Method

Count the Vowel

Data Structure

Create an Array

Print an Array

Functions

Add Area

PrintArray Function