Also make sure to read @nedbat's related post: Why do beginners find it hard to make a tic-tac-toe board in Python? https://nedbatchelder.com/blog/201308/names_and_values_making_a_game_board.html …
-
-
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
This is one of the most important lessons I teach people in my python classes: Variables are names for values. Everything follows from that. Names don't have types, values do. Names can change what they refer to, values can't. Some values cannot change, some values can.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
I feel languages should be designed to be surprise-free.
-
These are only surprises if you expect Python to behave like C or Java. It’s OK for Python to behave differently.
- Još 8 drugih odgovora
Novi razgovor -
-
-
The second one is particularly important! Blew me away the first time I came across referencing objects in python!
- Još 1 odgovor
Novi razgovor -
-
-
Second one is totally natural for devs coming form Java or C# (and probably other modern languages)
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
Curator of 
Former director at
Thought follower