Compare commits

...

6 Commits

Author SHA1 Message Date
David Beazley
ac260673ae Merge pull request #16 from regisb/patch-1
docs: "what" -> "why" typo
2023-07-20 15:49:45 -05:00
Régis Behmo
85987ca6f1 docs: "what" -> "why" typo 2023-07-20 15:39:49 +02:00
David Beazley
13df3ab71a Merge pull request #14 from kozistr/fix/indentation
Fix indentation in exercise 9_4
2023-07-20 05:39:28 -05:00
David Beazley
fab0426db6 Merge pull request #13 from williamrowell/ex1_1
Fixed mixed indentation in exercise 1_1 and solution.
2023-07-20 05:38:56 -05:00
kozistr
e92c1811db fix: indentation 2023-07-20 15:32:48 +09:00
William Rowell
87f932a66b Fixed mixed indentation in exercise 1_1 and solution. 2023-07-19 23:20:45 -07:00
4 changed files with 5 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ chars = '\|/'
def draw(rows, columns):
for r in rows:
print(''.join(random.choice(chars) for _ in range(columns)))
print(''.join(random.choice(chars) for _ in range(columns)))
if __name__ == '__main__':
if len(sys.argv) != 3:

View File

@@ -41,7 +41,7 @@ def create_formatter(name, column_formats=None, upper_headers=False):
if column_formats:
class formatter_cls(ColumnFormatMixin, formatter_cls):
formats = column_formats
formats = column_formats
if upper_headers:
class formatter_cls(UpperHeadersMixin, formatter_cls):
@@ -139,7 +139,7 @@ def create_formatter(name, column_formats=None, upper_headers=False):
if column_formats:
class formatter_cls(ColumnFormatMixin, formatter_cls):
formats = column_formats
formats = column_formats
if upper_headers:
class formatter_cls(UpperHeadersMixin, formatter_cls):

View File

@@ -94,7 +94,7 @@ exercises.
**A:** You can use [GitHub discussions](https://github.com/dabeaz-course/python-mastery/discussions) to discuss the course.
**Q: What wasn't topic/tool/library X covered?**
**Q: Why wasn't topic/tool/library X covered?**
**A:** The course was designed to be completed in an intense 4-day
in-person format. It simply isn't possible to cover absolutely

View File

@@ -7,7 +7,7 @@ chars = '\|/'
def draw(rows, columns):
for r in range(rows):
print(''.join(random.choice(chars) for _ in range(columns)))
print(''.join(random.choice(chars) for _ in range(columns)))
if __name__ == '__main__':
if len(sys.argv) != 3: