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
> *
>
> *
> *
> *
> *
>
> *
> *
> *
> *
>
> *
> *
> *
> *
> *
>
> *
> *
> *
> *
> *
>
> *
> *
> *
> *
> *
> *
>
> this i the output.. it is not a tree..
>
>
>>Messaggio originale
>
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
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