Skip to content

Commit

Permalink
Correct formatting error in conditions adventure
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio Avas committed May 2, 2017
1 parent bebc6a8 commit 0f42915
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py101/conditions/README.es.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Python provee las sentencias "if", que consisten de una expressión booleana (Tr
if y == 0:
print('El divisor no debe ser 0')
else:
print('El resultado es{0}'.format(x/y))
print('El resultado es {{0}}'.format(x/y))

Las sentencias if pueden ser anidadas, permitiendo ejecutar código más complejo.

Expand Down
2 changes: 1 addition & 1 deletion py101/conditions/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Python provides the "if" statements, consisting of a boolean expression followed
if y == 0:
print('divisor y should not be zero')
else:
print('Result is {0}'.format(x/y))
print('Result is {{0}}'.format(x/y))

If statements can be nested allowing more complex logic to be executed:

Expand Down

0 comments on commit 0f42915

Please sign in to comment.