You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Pyllole/21_Variables.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ Il doppio carattere uguale `==` è sempre un operatore di uguaglianza, non una a
87
87
88
88
Il _casting_ in programmazione è la conversione di un dato da un tipo ad un altro.
89
89
90
-
Potremmo avere una variabile a cui è assegnato il valore `"123", anche se sembra un numero, come già suggeriscono le virgolette, in realtà si tratta di una stringa (magari acquisita tramite [input](Input.md)).
90
+
Potremmo avere una variabile a cui è assegnato il valore `"123", anche se sembra un numero, come già suggeriscono le virgolette, in realtà si tratta di una stringa (magari acquisita tramite [input](https://github.com/pythonitalia/python-abc/blob/master/docs/Pyllole/25_Input.md).
91
91
92
92
Se volessi trattare questo `"123"` come se fosse un numero, e sommargline ad esempio un altro, dovrei prima trasformalo in un intero.
93
93
Per convertire in intero una stringa, o un float, si utilizza la funzione `int()`.
0 commit comments