Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There is no need to cast to int in Python:

    a = random.randrange(10000)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: