Posts by Giuseppe Lira • 1 point
4 posts
-
0
votes1
answer58
viewsA: Command c connect asks password I did not create [Postgres]
solved. I removed connect. So to connect to db controle_shopping I used \c controle_compras;
-
-1
votes1
answer58
viewsQ: Command c connect asks password I did not create [Postgres]
Hi, I created the table controle_compras and it all worked out. I inserted items as indicated in the class, but only as an exercise, I started to create another table only to train the commands. But…
-
-2
votes1
answer57
viewsQ: Why doesn’t print return all the items in a list?
The following code should return all cars from the following list: cars = ['audi','bmw','subaru','toyota'] for car in cars: if car == 'bmw': print(car.upper()) else: print(car.title()) But he only…
-
0
votes2
answers96
viewsQ: What’s wrong with this print line = ('Hello,' + full_name.title() + '!')?
I’m new to programming and I’m following Eric Matthes' book exercises. In the text editor, I typed print = ('Hello,' + full_name.title() + '!') and an error message appeared.…