guy asor <guy.asor...@gmail.com> writes:

> this is my code:
>
> word=raw_input()
> print word*3
>
>
> with this code im getting - wordwordword.
> what changes i need to make to get - word word word - instead?

Two hints:

What does ['a']*3 give you?

What about '/'.join(['a', 'b', 'c'])?

Can you find a way now?

-- 
Ben.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to