Difference between revisions of "More to Python"

From CompSciWiki
Jump to: navigation, search
(fixed the sentence in the introduction with the "in regards to")
m (Added comic credit)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|Chapter_TOC=[[Extra Labs]]
 
|Chapter_TOC=[[Extra Labs]]
 
|Previous=[[Introduction to Python]]
 
|Previous=[[Introduction to Python]]
|Introduction=In the previous lab [[Introduction_to_Python|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.
+
|Introduction=In the previous lab [[Introduction_to_Python|Introduction-to-Python]] you were taught what the 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.
 +
 
 +
[[Image:More_on_Python.png|800px|Image by Graeme Peters]]
 +
 
 
|Body=
 
|Body=
 
==String Method==
 
==String Method==

Latest revision as of 17:34, 5 April 2012

COMP 1010 Home > Back to Extra Labs

Introduction

In the previous lab Introduction-to-Python you were taught what the 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.

Image by Graeme Peters

String Method

Count the Vowel

Data Structure

Create an Array

Print an Array

Functions

Add Area

PrintArray Function