Re: [Tutor] python draw christman tree using loops

2014-10-19 Thread Danny Yoo
In Java, System.out represents the standard output device. In Python, there's a similar value in sys.stdout. https://docs.python.org/2/library/sys.html#sys.stdout In your Python program, you should be able to say: import sys at the beginning of your program, and then use: sys.st

Re: [Tutor] python draw christman tree using loops

2014-10-19 Thread Joel Goldstick
> * > > * > * > * > * > > * > * > * > * > > * > * > * > * > * > > * > * > * > * > * > > * > * > * > * > * > * > > this i the output.. it is not a tree.. > > >>Messaggio originale >

Re: [Tutor] python draw christman tree using loops

2014-10-19 Thread Joel Goldstick
On Sun, Oct 19, 2014 at 7:32 AM, jarod...@libero.it wrote: > > Dear All, > or improve my understanding o python I would like to learn how to draw simple > figures using loops. > I start from this code in java: > import java.util.Scanner; > > public class Eserc2_8 { > public static void main(St

[Tutor] python draw christman tree using loops

2014-10-19 Thread jarod...@libero.it
Dear All, or improve my understanding o python I would like to learn how to draw simple figures using loops. I start from this code in java: import java.util.Scanner; public class Eserc2_8 { public static void main(String args[]) { Scanner s = new Scanner(System.in); // Altezz