<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://training-course-material.com/index.php?action=history&amp;feed=atom&amp;title=Category%3ALanguage_Basics_-_Excercises</id>
	<title>Category:Language Basics - Excercises - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://training-course-material.com/index.php?action=history&amp;feed=atom&amp;title=Category%3ALanguage_Basics_-_Excercises"/>
	<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Category:Language_Basics_-_Excercises&amp;action=history"/>
	<updated>2026-05-13T23:42:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://training-course-material.com/index.php?title=Category:Language_Basics_-_Excercises&amp;diff=12820&amp;oldid=prev</id>
		<title>Cesar Chew at 17:32, 18 October 2013</title>
		<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Category:Language_Basics_-_Excercises&amp;diff=12820&amp;oldid=prev"/>
		<updated>2013-10-18T17:32:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Cat|Python}}&lt;br /&gt;
{{Python Links}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;slideshow style=&amp;quot;nobleprog&amp;quot; headingmark=&amp;quot;⌘&amp;quot; incmark=&amp;quot;…&amp;quot; scaled=&amp;quot;true&amp;quot; font=&amp;quot;Trebuchet MS&amp;quot; &amp;gt;&lt;br /&gt;
;title: Python Language Basics- Excercises&lt;br /&gt;
;author: Sam Bashton&lt;br /&gt;
&amp;lt;/slideshow&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Language Basics ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Check all syntactically correct statements&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Which input statements are correct? ⌘====&lt;br /&gt;
&lt;br /&gt;
# a = raw_input()&lt;br /&gt;
# a = raw_input(“enter a number”)&lt;br /&gt;
# a = raw_input(enter your name)&lt;br /&gt;
&lt;br /&gt;
==== Which print statements are correct? ⌘====&lt;br /&gt;
&lt;br /&gt;
# print “9” + “9”&lt;br /&gt;
# print int(“nine”)&lt;br /&gt;
# print str(9) + “nine”&lt;br /&gt;
# print 9 + 9&lt;br /&gt;
# nine = 9 print nine&lt;br /&gt;
&lt;br /&gt;
==== Which are correct arithmetical operations? ⌘====&lt;br /&gt;
 &lt;br /&gt;
# a = 1 * 2&lt;br /&gt;
# 2 = 1 + 1&lt;br /&gt;
# 5 + 6 = y&lt;br /&gt;
# seven = 3 * 4&lt;br /&gt;
&lt;br /&gt;
==== Which are correct variable names? ⌘====&lt;br /&gt;
&lt;br /&gt;
# result&lt;br /&gt;
# my.result&lt;br /&gt;
# print&lt;br /&gt;
# result77&lt;br /&gt;
&lt;br /&gt;
==== Which are correct type conversions? ⌘==== &lt;br /&gt;
&lt;br /&gt;
# int(7.0+0.1)&lt;br /&gt;
# str(1.2 * 3.4)&lt;br /&gt;
# float(“77”+”.0”)&lt;br /&gt;
# str( 9 / 0 )&lt;br /&gt;
&lt;br /&gt;
==== Which operations result in 8? ⌘====&lt;br /&gt;
&lt;br /&gt;
# 65 // 8&lt;br /&gt;
# 17 % 9&lt;br /&gt;
# 2 ** 4&lt;br /&gt;
# 64 ** 0.5&lt;br /&gt;
&lt;br /&gt;
==== Which lines are commented? ⌘====&lt;br /&gt;
&lt;br /&gt;
# “””This is a comment”””&lt;br /&gt;
# # This is a comment&lt;br /&gt;
# // this is a comment&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;This is a comment&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== Data Types ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Find the matching pairs of expressions and values&amp;lt;/big&amp;gt;&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 002.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manipulating Strings ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Write the result of each operation into the fields.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 005.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== String formatting ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Find the matching pairs of expressions and values.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 006.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Regular Expressions ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Find the expressions that fit to each row.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 007.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Functions and Modules ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Find the matching pairs.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 008.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manipulating Lists ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Write the result of each operation into the fields.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 009.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Functions operating on lists (1) ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Write the correct operations to the arrows.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 010.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Functions operating on lists (2) ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Write the correct operations to the arrows&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 011.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Functions operating on lists (3) ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Write the result of each operation into the fields.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 012.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manipulating Lists ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Check the correct answer.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== What does the list b contain? ⌘====&lt;br /&gt;
&lt;br /&gt;
a = [8,7,6,5,4] b = a[2:4]&lt;br /&gt;
# [7,6,5]&lt;br /&gt;
# [7,6]&lt;br /&gt;
# [6,5]&lt;br /&gt;
# [6,5,4]&lt;br /&gt;
&lt;br /&gt;
==== Which of the following code pieces results in ⌘====&lt;br /&gt;
&lt;br /&gt;
# a == [2,4,6]&lt;br /&gt;
# a = [1,2,3] * 2&lt;br /&gt;
# a = [int(s) for s in “246”]&lt;br /&gt;
# a = [x*2 for x in range(3)]&lt;br /&gt;
# a = [2**1]+[2**2]+[2**3]&lt;br /&gt;
&lt;br /&gt;
=== Working with Tuples ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Check all correct answers&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Which are correct tuples? ⌘====&lt;br /&gt;
&lt;br /&gt;
# ( 1, 2, 3)&lt;br /&gt;
# (“Jack” “Knife”)&lt;br /&gt;
# (&amp;#039;blue&amp;#039;, [0,0,255])&lt;br /&gt;
# [ 1, “word” ]&lt;br /&gt;
&lt;br /&gt;
==== What are tuples good for? ⌘====&lt;br /&gt;
&lt;br /&gt;
# Grouping data.&lt;br /&gt;
# Managing values that change.&lt;br /&gt;
# Running a for loop over them.&lt;br /&gt;
# Sorting.&lt;br /&gt;
&lt;br /&gt;
==== On what data types does the len() function work on? ⌘====&lt;br /&gt;
&lt;br /&gt;
# lists&lt;br /&gt;
# dictionaries.&lt;br /&gt;
# strings.&lt;br /&gt;
# tuples.&lt;br /&gt;
&lt;br /&gt;
=== Manipulating Dictionaries ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Write the result of each operation into the fields.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 014.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Manipulating Dictionaries ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Check the correct answer&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== What do these commands produce? ⌘====&lt;br /&gt;
&lt;br /&gt;
d = {1:&amp;#039;A&amp;#039;, &amp;#039;B&amp;#039;:1, &amp;#039;A&amp;#039;:True} print d[&amp;#039;A&amp;#039;]&lt;br /&gt;
# False&lt;br /&gt;
# “B”&lt;br /&gt;
# True&lt;br /&gt;
# 1&lt;br /&gt;
&lt;br /&gt;
==== What do these commands produce? ⌘====&lt;br /&gt;
&lt;br /&gt;
d = {1:&amp;#039;A&amp;#039;, &amp;#039;B&amp;#039;:1, &amp;#039;A&amp;#039;:True} print d.has_key(&amp;#039;B&amp;#039;)&lt;br /&gt;
# 1&lt;br /&gt;
# True&lt;br /&gt;
# &amp;#039;B&amp;#039;&lt;br /&gt;
# False&lt;br /&gt;
&lt;br /&gt;
==== What do these commands produce? ⌘====&lt;br /&gt;
&lt;br /&gt;
d = {1:&amp;#039;A&amp;#039;, &amp;#039;B&amp;#039;:1, &amp;#039;A&amp;#039;:True} print d.values()&lt;br /&gt;
# True&lt;br /&gt;
# [&amp;#039;A&amp;#039;,1,True]&lt;br /&gt;
# 3&lt;br /&gt;
# [1,&amp;#039;B&amp;#039;,&amp;#039;A&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
==== What do these commands produce? ⌘====&lt;br /&gt;
&lt;br /&gt;
d = {1:&amp;#039;A&amp;#039;, &amp;#039;B&amp;#039;:1, &amp;#039;A&amp;#039;:True} print d.keys()&lt;br /&gt;
# [1,&amp;#039;B&amp;#039;,&amp;#039;A&amp;#039;]&lt;br /&gt;
# [&amp;#039;A&amp;#039;,&amp;#039;B&amp;#039;,1]&lt;br /&gt;
# [1,&amp;#039;A&amp;#039;,&amp;#039;B&amp;#039;]&lt;br /&gt;
# The order may vary.&lt;br /&gt;
&lt;br /&gt;
==== What do these commands produce? ⌘====&lt;br /&gt;
&lt;br /&gt;
d = {1:&amp;#039;A&amp;#039;, &amp;#039;B&amp;#039;:1, &amp;#039;A&amp;#039;:True} print d[&amp;#039;C&amp;#039;]&lt;br /&gt;
# None&lt;br /&gt;
# &amp;#039;C&amp;#039;&lt;br /&gt;
# an Error&lt;br /&gt;
# False&lt;br /&gt;
&lt;br /&gt;
==== What do these commands produce? ⌘====&lt;br /&gt;
&lt;br /&gt;
d = {1:&amp;#039;A&amp;#039;, &amp;#039;B&amp;#039;:1, &amp;#039;A&amp;#039;:True} d.setdefault(&amp;#039;C&amp;#039;,3) print d[&amp;#039;C&amp;#039;]&lt;br /&gt;
# 3&lt;br /&gt;
# “C”&lt;br /&gt;
# None&lt;br /&gt;
# an Error&lt;br /&gt;
&lt;br /&gt;
=== Loops and conditional statements ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Check the correct statements.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Which of these while commands are correct? ⌘====&lt;br /&gt;
# while a = 1:&lt;br /&gt;
# while a+7:&lt;br /&gt;
# while len(c)&amp;gt;10:&lt;br /&gt;
# while a and (b-2 == c):&lt;br /&gt;
# while b==1&lt;br /&gt;
# while s.find(&amp;#039;c&amp;#039;)&amp;gt;=0:&lt;br /&gt;
&lt;br /&gt;
==== Which of these statements are correct? ⌘====&lt;br /&gt;
# &amp;#039;while&amp;#039; is also called a conditional loop.&lt;br /&gt;
# The expression after while may contain function calls.&lt;br /&gt;
# It is possible to write endless while loops.&lt;br /&gt;
# The colon after while may be omitted.&lt;br /&gt;
# The code block after while is executed at least once.&lt;br /&gt;
&lt;br /&gt;
==== What are possible structures of a conditional statement? ⌘====&lt;br /&gt;
# if &amp;lt;expression&amp;gt; .. else&lt;br /&gt;
# if &amp;lt;expression&amp;gt; .. else if &amp;lt;expression&amp;gt; &lt;br /&gt;
# if &amp;lt;expression&amp;gt; .. elif &amp;lt;expression&amp;gt; .. else&lt;br /&gt;
# if &amp;lt;expression&amp;gt; .. elif &amp;lt;expression&amp;gt; ..else &amp;lt;expression&amp;gt;&lt;br /&gt;
# If &amp;lt;expression&amp;gt;.. else &amp;lt;expression&amp;gt; .. efli&lt;br /&gt;
&lt;br /&gt;
==== Which of these for commands are correct? ⌘====&lt;br /&gt;
# for char in “ABCD”:&lt;br /&gt;
# for i in range(10):&lt;br /&gt;
# for num in (4,6,8):&lt;br /&gt;
# for k in 3+7:&lt;br /&gt;
# for (i=0; i&amp;lt;10; i+=1):&lt;br /&gt;
# for var in seq:&lt;br /&gt;
 &lt;br /&gt;
==== Which of these if statements are syntactically correct? ⌘====&lt;br /&gt;
# if a and b:&lt;br /&gt;
# if len(s) == 23:&lt;br /&gt;
# if a but not b&amp;lt;3:&lt;br /&gt;
# if a ** 2 &amp;gt;= 49:&lt;br /&gt;
# if a != 3:&lt;br /&gt;
# if (a and b) or (c and d):&lt;br /&gt;
&lt;br /&gt;
=== Modules and Packages ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Check the correct answer(s).&amp;lt;/big&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== Which of these import statements are correct? ⌘====&lt;br /&gt;
# import re&lt;br /&gt;
# import re.sub&lt;br /&gt;
# from re import sub&lt;br /&gt;
# from re.sub import *&lt;br /&gt;
# from .re import *&lt;br /&gt;
# from re import *&lt;br /&gt;
&lt;br /&gt;
==== Where does Python look for modules to import ⌘====&lt;br /&gt;
# In the sys.path variable.&lt;br /&gt;
# In the current working directory.&lt;br /&gt;
# In the directory where the current module is.&lt;br /&gt;
# In the directory where Python was started.&lt;br /&gt;
# In the site-packages folder&lt;br /&gt;
# In directories in the PYTHONPATH variable&lt;br /&gt;
# In the root directory.&lt;br /&gt;
&lt;br /&gt;
==== Which statements about packages are true? ⌘====&lt;br /&gt;
# A package is a directory with modules.&lt;br /&gt;
# A package may contain zero modules.&lt;br /&gt;
# Packages in site-packages/ are imported automatically.&lt;br /&gt;
# A package must contain a __init__.py file.&lt;br /&gt;
# A package may contain no code.&lt;br /&gt;
# Packages are useless in small programs.&lt;br /&gt;
&lt;br /&gt;
==== Which packages are installed by default? ⌘====&lt;br /&gt;
# os – manipulating files and directories.&lt;br /&gt;
# psyco – makes Python faster&lt;br /&gt;
# time – accessing date and time.&lt;br /&gt;
# csv – reads and writes tables.&lt;br /&gt;
# numpy – number crunching.&lt;br /&gt;
# pdb – Python debugging.&lt;br /&gt;
&lt;br /&gt;
=== While loops ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Match the expressions for the while loops run the designated number of times&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 015.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Reading and Writing Files ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Write Python commands into the fields&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 016.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Error Handling ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Check all correct answers&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Which commands result in an Exception? ⌘====&lt;br /&gt;
# f = open(“:::”)&lt;br /&gt;
# char = “abc”[7]&lt;br /&gt;
# a = (5+9) / (6-(2*3))&lt;br /&gt;
# num = [1,2,3][0]&lt;br /&gt;
# l = range(10)[:20]&lt;br /&gt;
# num = {1:&amp;#039;a&amp;#039;}[&amp;#039;a&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
==== Which are common types of Exceptions? ⌘====&lt;br /&gt;
# ZeroDivisionError&lt;br /&gt;
# IOError&lt;br /&gt;
# ValueError&lt;br /&gt;
# NullPointerException&lt;br /&gt;
# KeyError&lt;br /&gt;
# InfiniteLoopError&lt;br /&gt;
&lt;br /&gt;
==== Which commands for managing Exceptions exist? ⌘====&lt;br /&gt;
# try: … else: ...&lt;br /&gt;
# raise ValueError(&amp;#039;text&amp;#039;)&lt;br /&gt;
# try: … except: … error:&lt;br /&gt;
# try: … except: ...&lt;br /&gt;
&lt;br /&gt;
=== Working with Files ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Check all correct answers&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Which are correct commands working with files? ⌘====&lt;br /&gt;
# for line in open(filename):&lt;br /&gt;
# f = open(filename,&amp;#039;w&amp;#039;)&lt;br /&gt;
# open(filename).writelines(out)&lt;br /&gt;
# f.close()&lt;br /&gt;
&lt;br /&gt;
==== Which statements about the csv module are correct? ⌘====&lt;br /&gt;
# It can save tables of strings and numbers.&lt;br /&gt;
# csv reads tables of strings.&lt;br /&gt;
# csv cannot handle the quote character. &lt;br /&gt;
# Files need to have the .csv suffix.&lt;br /&gt;
&lt;br /&gt;
=== Language Basics ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;&lt;br /&gt;
* What is a variable?&lt;br /&gt;
* What names may variables have?&lt;br /&gt;
* What is an integer?&lt;br /&gt;
* What is a string?&lt;br /&gt;
* How to assign a variable?&lt;br /&gt;
* How to add, substract, and multiply numbers?&lt;br /&gt;
* What can be printed with print?&lt;br /&gt;
* How can text be read from the keyboard?&lt;br /&gt;
* How are comments written in a program?&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The math module ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Find the matching pairs of functions and values.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 017.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The os module ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Insert the correct functions into the gaps.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Selection 018.png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Creating plots ⌘===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Write the result of each operation into the fields.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Which of these for commands are necessary to create a figure in matplotlib? ⌘====&lt;br /&gt;
# p = plot(x_data,y_data, &amp;#039;k-&amp;#039;)&lt;br /&gt;
# title(&amp;#039;&amp;#039;Name of the graph&amp;#039;)&lt;br /&gt;
# xlabel(&amp;#039;x axis name&amp;#039;)&lt;br /&gt;
# axis([0,15,0,10])&lt;br /&gt;
# savefig(&amp;#039;figure1.png&amp;#039;&lt;br /&gt;
# show()&lt;/div&gt;</summary>
		<author><name>Cesar Chew</name></author>
	</entry>
</feed>