Posts by Plankiton • 25 points
3 posts
-
1
votes1
answer243
viewsQ: What’s the "@" in python for?
Several times I came across snippets of python code that used "@" as in flask: import flask App = flask.Flask(__name__) @App.route("/") Why not just App.route?…
-
0
votes3
answers92
viewsA: As I do in python for at the end of the code, it go to the start again
creates a loop "while true:" so the program will repeat itself endlessly, and just implement a flag at the end to exit the loop and terminate the program.
-
-1
votes1
answer143
viewsQ: java build error ( javac )
I have a "poo1.java file": package pootest; public class init{ public static void main(String[] args){ Caneta bic1 = new Caneta(); bic1.cor = "azul"; bic1.tampada = true; bic1.ponta = 0.5f;…