Learn Python 2 Number Guess Help

Hey guys, I’m not sure what I’m doing wrong here.

I’m not sure why it says it cannot import radint and I’m also confused as to why the YouTube video’s “raw_input” is in red while mine isn’t. Thanks for the help guys!

HI there,

You had a typo; it is not radint, it’s randint.

from random import randint

Regarding the raw_input being red in YouTube videos, it could just be the IDE they are using. Run the code, and see if it resolves your issue!

Best regards,

2 Likes

haha man thank you for catching that!! I appreciate it!

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.