Code basics
JJ
joacim at home.se
Fri Mar 17 09:57:36 EST 2000
More information about the Python-list mailing list
Fri Mar 17 09:57:36 EST 2000
- Previous message (by thread): Code basics
- Next message (by thread): Code basics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm a C/C++/Java programmer and wonder how to make "code blocks" in Python.
Please translate this to Python:
while( notDone )
{
int chip = this.getNumberOfSomething();
if (chip == 10 )
{
System.out.println("Tjohoo");
}
else
{
System.out.println("Oh no!");
}
}
// Joacim
- Previous message (by thread): Code basics
- Next message (by thread): Code basics
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list