Exercises

[ LiB ]

Exercises

1:

Lists use parentheses and tuples use brackets for assignments. What do dictionaries use?

2:

List two escape sequences.

3:

Name any one list method and what it does.

4:

Write a simple example of a for loop.

5:

Define "widget."

6:

List one possible action that could slow down a program when used within an iteration, or loop.

7:

Write a program that takes as input two strings and two integers and then displays them.

[ LiB ]


Game Programming with Pyton, Lua and Ruby
Game Programming with Pyton, Lua and Ruby
ISBN: N/A
EAN: N/A
Year: 2005
Pages: 133

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net