0
importing modules
why I can't import any module in SoloLearn interpreter? (I'm coding in Python)
5 Answers
+ 6
Rewa Mathur sleep doesn't really work in the code playground - any time over 3 or 4 seconds times out (on my phone anyway) and "Sleeping..." and "Awake!" print at the same time :/
+ 1
How are you doing it? Should be something like this:
import module_name
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2438/
+ 1
Jay Matthews I wish to import random and randint also
from random import randint
0
Diego Acero I'm writing
from time import sleep