+ 1

How do I do what I'm trying to do

I want to multiply 2 random integers I find through a range finder. K and I. What do I need to do to my code to make it multiply the values the code generates. Also please explain what your line of thinking is if you dont mind. Thanks for the help!! import random for i in range(1): value = random.randint(1, 6) print(value) import random for k in range(1): value = random.randint(0, 100) print(value) def multiply(value): return(value(k) * value(i)

25th Nov 2019, 7:32 AM
Zachary Allred
Zachary Allred - avatar
1 Answer