Em 06-05-2011 22:59, Alan Gauld escreveu:

"pwnedomina" <pwnedom...@gmail.com> wrote

Can you write Python code already? Or are you a complete beginner?
Do you know how to produce the table by hand
- using pen and paper say?


im a beginner, can you show a sample of code in order to do this task?

I could but it may not mean anything to you.
Can you write code to print a table of any kind?
For example can you print out a multiplication table,
say the 3 times table, like this:

1 x 3 = 3
2 x 3 = 6
3 x 3 = 9
4 x 3 = 12
5 x 3 = 15

If you can do that then it is very little extra work to print out the
encoding table provided you know the contents. So can you
do that initial step of printing the 3 times table?

Show us your code. That will give us an idea of where your
understanding and skill level lies.

PS. There is code in my tutorial for printing multiplication
tables if you are really stuck. Try the end of the
"more sequences" topic for a start...

HTH,

i have no code to show this is why im asking for samples in order to do this..

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to