diff options
| -rw-r--r-- | it-it/python3-it.html.markdown | 6 | ||||
| -rw-r--r-- | ruby.html.markdown | 2 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/it-it/python3-it.html.markdown b/it-it/python3-it.html.markdown index 06ef9a5e..04f78cff 100644 --- a/it-it/python3-it.html.markdown +++ b/it-it/python3-it.html.markdown @@ -400,8 +400,8 @@ else:                  # Anche else è opzionale      print("some_var è  10.")  """ -I cicli for iterano sulle liste, cioé ripetono un codice per ogni elemento  -# di una lista. +I cicli for iterano sulle liste, cioè ripetono un codice per ogni elemento  +di una lista.  Il seguente codice scriverà:      cane è un mammifero      gatto è un mammifero @@ -409,7 +409,7 @@ Il seguente codice scriverà:  """  for animale in ["cane", "gatto", "topo"]:      # Puoi usare format() per interpolare le stringhe formattate. -    print("{} is a mammal".format(animal)) +    print("{} è un mammifero".format(animale))  """  "range(numero)" restituisce una lista di numeri da zero al numero dato diff --git a/ruby.html.markdown b/ruby.html.markdown index 4bc872da..51f220e3 100644 --- a/ruby.html.markdown +++ b/ruby.html.markdown @@ -158,7 +158,7 @@ status == 'pending' #=> false  status == :approved #=> false -Strings can be converted into symbols and vice versa: +# Strings can be converted into symbols and vice versa:  status.to_s #=> "pending"  "argon".to_sym #=> :argon | 
