Skip to content

Python 3 - xrange / print #17

@robotallie

Description

@robotallie

For the build_model() function, I needed to change for i in xrange(0, num_passes): to just range(0, num_passes): to make it work in Python 3.

For the final print statement, I also needed to add parentheses. After those two updates, I was able to get a great result. Thanks!

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