Aug-24-2019, 10:20 AM
random is a part of Standard Library.
This mean that no installed is needed.
This mean that no installed is needed.
E:\div_code λ python Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import random >>> >>> random.randint(1, 10) 4 >>> random.randint(1, 10) 2 >>>
(Aug-24-2019, 09:52 AM)VictorVictus Wrote: when I type this, Pycharm throws an error "No Module named Random"It's not capitalized
Random
,it's import random