Skip to content

Instantly share code, notes, and snippets.

@pwais
Created December 8, 2018 00:30
Show Gist options
  • Select an option

  • Save pwais/5d09c525af848318d724eb1979239126 to your computer and use it in GitHub Desktop.

Select an option

Save pwais/5d09c525af848318d724eb1979239126 to your computer and use it in GitHub Desktop.
$ python
Python 2.7.12 (default, Nov 12 2018, 14:36:49)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import random
>>> random.seed(100)
>>> random.choice(range(1000))
145
>>> exit()
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment