Skip to content

Errata on page 174 & 175 #5

Description

@jayaramcloud

Hi Richard,
Thanks a lot for your book and I love the flow. I have observed couple of trivial errata :
1.Page 174: # Print newine (I think you meant newline)

Listing 6.10: simplerandom.py
from random import randrange, seed
seed(23) # Set random number seed
for i in range(0, 100): # Print 100 random numbers
print(randrange(1, 1001), end=' ') # Range 1...1,000, inclusive
print() # Print newine

2.Page 175: pseudorandomly (I think you meant randomly)
Since the program generates the values pseudorandomly, actual output will vary from one run to the next

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions