0

importing modules

why I can't import any module in SoloLearn interpreter? (I'm coding in Python)

26th Jan 2019, 10:51 PM
Ana Beatriz Augusto de Melo da Silva
Ana Beatriz Augusto de Melo da Silva - avatar
4 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 :/
27th Jan 2019, 10:38 PM
David Ashton
David Ashton - avatar
+ 1
How are you doing it? Should be something like this: import module_name https://www.sololearn.com/learn/Python/2438/
26th Jan 2019, 11:15 PM
Diego
Diego - avatar
+ 1
Jay Matthews I wish to import random and randint also from random import randint
27th Jan 2019, 6:52 PM
Ana Beatriz Augusto de Melo da Silva
Ana Beatriz Augusto de Melo da Silva - avatar
0
Diego Acero I'm writing from time import sleep
27th Jan 2019, 12:16 PM
Ana Beatriz Augusto de Melo da Silva
Ana Beatriz Augusto de Melo da Silva - avatar