nltk / nltk_book

NLTK Book
http://www.nltk.org/book
403 stars 143 forks source link

Chapter 3, Exercise 17 uses outdated formating syntax #240

Open BetoBob opened 3 years ago

BetoBob commented 3 years ago

Current:

  1. What happens when the formatting strings %6s and %-6s are used to display strings that are longer than six characters?

Fix:

  1. What happens when the formatting strings {:>6} and {:6} are used to display strings that are longer than six characters?