msmsms Posted August 20, 2012 at 04:29 PM Report Share #472933 Posted August 20, 2012 at 04:29 PM quando gero uma função no interpretador não sei como sair do modo dos 3 pontos(...) alguém me pode dizer como é que eu regresso ao >>> ? Link to comment Share on other sites More sharing options...
KTachyon Posted August 20, 2012 at 04:42 PM Report Share #472935 Posted August 20, 2012 at 04:42 PM Típicamente, carregas no enter. No fundo tens que acabar de escrever a declaração: >>> x = 0 >>> if x == 0: ... print "something" ... something >>> “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” -- Tony Hoare Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now