diff --git a/Builds/introduction.zip b/Builds/introduction.zip index 14581d7b3d959fa5d8c72f3bfbbffcc092b0298e..cc789fd630a60a725fd367a116db24764a2457ec 100644 Binary files a/Builds/introduction.zip and b/Builds/introduction.zip differ diff --git a/UNL SOFT Introduction to Python/Classes/Constructors/task.html b/UNL SOFT Introduction to Python/Classes/Constructors/task.html index 743d75f197e7c2bd62144285c8b1a9d863e0d86f..57abb18e6ca8a8144c4f49bbec4e69392dd3ddf7 100644 --- a/UNL SOFT Introduction to Python/Classes/Constructors/task.html +++ b/UNL SOFT Introduction to Python/Classes/Constructors/task.html @@ -5,7 +5,7 @@ <blockquote> <code>class Book(object):</code><br> <code> def __init__(self, comment):</code><br> - <code> print('Created a book with the comment {comment}'.format(comment=comment))</code> + <code> print(f'Created a book with the comment {comment}')</code> </blockquote> <p>prints a line whenever a book object is created. The call to the constructor would look like this:</p> <blockquote><code>a_book = Book('(400 pages)')</code></blockquote> diff --git a/UNL SOFT Introduction to Python/Loops/Break and Else/task.html b/UNL SOFT Introduction to Python/Loops/Break and Else/task.html index 29431cdb584b6692eedf80a6eeb012814e7af3a0..be5a8e70809b12593a546aaee12fb101476afa0b 100644 --- a/UNL SOFT Introduction to Python/Loops/Break and Else/task.html +++ b/UNL SOFT Introduction to Python/Loops/Break and Else/task.html @@ -5,10 +5,10 @@ it, but need additional code in case they never find what they are looking for. For example:</p> <blockquote><code>for i in range(10):</code><br> <code> if i ** 3 == 500:</code><br> - <code> print('The cube root of 500 is {i}.'.format(i=i))</code><br> + <code> print(f'The cube root of 500 is {i}.')</code><br> <code> break</code><br> <code>else:</code><br> - <code> print('The cube root of 500 is not an integer between 0 and 9.'.format(i=i))</code> + <code> print('The cube root of 500 is not an integer between 0 and 9.')</code> </blockquote> <p>Fill in the placeholders so that the actual outputs match the expected outputs.</p> </html>