Difference between revisions of "More to Python"

From CompSciWiki
Jump to: navigation, search
(fixed the sentence in the introduction with the "in regards to")
Line 3: Line 3:
 
|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 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|caption]]
 +
 
|Body=
 
|Body=
 
==String Method==
 
==String Method==

Revision as of 08:31, 5 April 2012

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