Posts by Felipe Lamarao • 61 points
9 posts
-
0
votes0
answers26
viewsQ: I’m studying about python /Jango and I came across a from and an import called "Rating" could someone explain to me what it’s for?
def show_scoring_average(self): from .Rating import Rating # Gostaria de entender esta linha try: ratings = Rating.objects.filter(user_rated = self.user).aggregate(Sum('value'), Count('user')) if…
-
0
votes0
answers16
viewsQ: I would like to know the concept of Querystring , what is it ? , what is it for ?. I am in a class on flask and was introduced to me about Querystring
@app.route('/novo') #novo.html def novo(): if 'usuario_logado' not in session or session['usuario_logado'] == None: return redirect('/loguin?proxima=novo') return render_template('novo.html',…
-
-1
votes1
answer532
viewsQ: How do I return the number of items in a stack
******I did this Exercise , however in the count of stack elements, is not appearing the value of items Could help me please **** #include <stdio.h> #include <stdlib.h> /* Um elemento da…
-
0
votes1
answer56
viewsQ: Dúvidas Abstract Factory
I have this exercise to do but I’m not able to do the implementation Using the Abstract Factory Standard, deploy Java clients from Process Manager and Memory Manager products to Linux, Mac, and…
-
0
votes1
answer710
viewsQ: Doubt Exercicio Collections - Queue Interface
I’m having a question in this exercise about Collections in which I should use the Queue interface : Write a program that simulates control of an airfield at an airport. In this program, the user…
-
0
votes1
answer432
viewsQ: Arraylist, Collections
I have an exercise list on Arraylist , but only the first question has left me with several doubts : Implement an interface with abstract methods getName, getValor, which should be implemented in…
-
2
votes1
answer1245
viewsQ: Add Contacts to an Array List
I would like to add contacts in a ArrayList, but adding initial values to the attribute. First I created a class called contact , and I want to create a contact type Arraylist and I would like to…
-
1
votes2
answers322
viewsQ: Doubt about how to iterate on an Arraylist
I have this exercise below to do put in question "D" I’m struggling , if someone can explain me how I should do : a) Create an interface called ModeloContato with the methods getNome(),…
-
2
votes2
answers691
viewsQ: Correct use of Override and constructor
I was asked to create a current account class that had an attribute representing the fee charged for each transaction of two attributes of the superclass (credit/debit). And have been asked to…