diff --git a/demo_code.py b/demo_code.py index 275fda452..e12351352 100644 --- a/demo_code.py +++ b/demo_code.py @@ -1,10 +1,10 @@ -import random -import sys as sys +import collections import os -import subprocess -import ssl import pprint -import collections +import random +import ssl +import subprocess +import sys as sys import this @@ -40,7 +40,8 @@ def limits(self): a = 2 return self.limits - def get_number(self, min_max=[1, 10]): + @staticmethod + def get_number(min_max=[1, 10]): """Get a random number between min and max.""" collections assert all([isinstance(i, int) for i in min_max])