+ 1

import random for i in range (3): value = random.randant(1, 3) 1="I" 2="like" 3="python" I made this code but i dont know what is wrong

18th Mar 2017, 9:08 PM
JJ Chamberlain
JJ Chamberlain - avatar
4 Answers
+ 9
import random words = ["I", "like", "Python"] print (random.choice(words))
18th Mar 2017, 10:23 PM
LayB
LayB - avatar
+ 7
what should it print?
18th Mar 2017, 10:16 PM
LayB
LayB - avatar
+ 1
I was trying to make it print I like python but mixed up
18th Mar 2017, 10:20 PM
JJ Chamberlain
JJ Chamberlain - avatar
+ 1
Thank you so much
18th Mar 2017, 10:31 PM
JJ Chamberlain
JJ Chamberlain - avatar