[Tutor] What after Learning Python 2nd

2006-10-09 Thread josip
Hi.   Hi I have finished Learning Python 2nd ed. What to do next? Should I go with Programming Python book or Python Cookbook or? Or maybe something else?   Thanks people!   Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail._

Re: [Tutor] what happens when...

2006-09-14 Thread josip
When I remove board I get message: global name 'board' is not defined. Ok I understand that. But I would like to get some explaination to understand better.   Thanks!John Fouhy <[EMAIL PROTECTED]> wrote: On 14/09/06, josip <[EMAIL PROTECTED]>wrote:>> Hi all!>

[Tutor] what happens when...

2006-09-13 Thread josip
Hi all! Can You explain me what happens when in this function I remove board arg: def human_move(board, human)? What is doing that argument?   Thanks!         # global constantsX = "X"O = "O"EMPTY = " "TIE = "TIE"NUM_SQUARES = 9 def display_instruct():    """Display game instructions."""

[Tutor] function arg

2006-08-25 Thread josip
I have here few function from game tic-tac-toe from book python for absoulute beginners   def first(): """ Determine who goes first. Computer or Player. """ gofirst = raw_input("Do You want to go first? (y/n): ")  if gofirst == 'y':  print "You start first"  player = X  computer = O else:  print

Re: [Tutor] banners

2006-08-20 Thread josip
i did it. for i in range(3):    print '*' * 5 + '\t  *'     if i in range(0,1):    print '*'+' ' *4 + '\t  *'    if i in range(1,2):    print ' ' * 4 + '*  *  *' is this code ok? someone have better solution? thx! Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Be

Re: [Tutor] banners

2006-08-20 Thread josip
ok i get letter s and j, now i neetd them to be printed together for i in range(3):    print '*'*5    if i in range(0,1):        print '*'    if i in range(1,2):        print ' ' * 4 + '*'        ***    **for i in range(4):    print ' ' * 3 + '*'    if i in range(3,4):        print '* 

[Tutor] banners

2006-08-17 Thread josip
Hi, I want to solve thi question, but I don't know how Can someone help?   When dot matrix printers were at the height of hi- tech fashion, university students used to create banners with words on them using special characters (e.g. a banner with a student’s initials on it formed out of # ch

[Tutor] forum

2006-08-05 Thread josip
look at this www.python-forum.org Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] abs beginner first project

2006-07-12 Thread josip
Hi!   I have finished learning python book and python for absolute beginners book. Now I want to start my first project.   Can someone sugest me project for first time (and some pointers,please)?   I'm thinking about text editor.   Thanks people! Yahoo! Messenger with Voice. Make PC-to-

[Tutor] python multimedia cyber classrom

2006-06-29 Thread josip
Hi,   I know that this is not question for this tutor, but someone please help. I tried everething but just not working. I contact Deitel, but they don't know    I have Python multimedia cyber classroom cd with book Python how to program. When I run My cyberclassroom I get this error:   A

[Tutor] projects for beginners

2006-06-19 Thread josip
Hi!   I have read learning python and mede some smaller examples. Now I want to make smoe project, I'm thinking about text editor. Can someone give me pointers like (where and how to start, etc.)? Or maybe another project suitable for beginners.   Sneak preview the all-new Yahoo.com. It

[Tutor] for loops

2006-04-11 Thread josip
I have problem with this question. Can someone show me the code and than explain it?   >>Write a Python program to print out the following  shape. You are expected to use two for loops (these must be nested) to solve this problem.   output: * * * * * *  * *  * * * * * *

[Tutor] function caller

2006-04-07 Thread josip
Hi,   Can someone explain me function and caller relationship when passing arguments?   Thanks How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listin

[Tutor] newbie exercises

2006-03-27 Thread josip
Hi,   Python is my first language. I have finished loops, now I'm going to functions. I'm working with Learning Python 2ed book. Can someone give me exercises to do with loops, maybe functions to?   Thanks Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger wit

[Tutor] newbie problem

2006-02-07 Thread josip
Hi, I am learning Python trought one course. I can't solve this, someone please help.     Write a loop that prints 20 characters on the screen. Always 20. But it is made up of stars (*), which are printed first, and exclamation marks (!) that complete the line. Your program will first ask the use