From 7c799b16507806cde311b191674fc8347758e2bf Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Wed, 30 Nov 2022 16:47:21 +0000 Subject: [PATCH] Test randrange. --- main.py | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/main.py b/main.py index a8bafff..acf2779 100644 --- a/main.py +++ b/main.py @@ -1,18 +1,3 @@ -#Test most default useable datatypes -x = [ - 1, - 1.1, - 1j, - True, - [1], - (1), - [1], - {1}, - {0:1}, - frozenset({1}), - "hell", - b"heelo", - None - ] -a,b,c,d,e,f,g,h,i,j,k,l,m = x -print(type(a),type(b),type(c),type(d),type(e),type(f),type(g),type(h),type(i),type(j),type(k),type(l),type(m)) +import random +#randrange(lw_incl,up_excl) +print(random.randrange(0,10))