Mar-18-2019, 02:36 PM
You need to assign the return value of a function in the module scope if you want to use it there:
third_list = RAND(start, finish, num) print(third_list)It looks like your two rand functions are pretty much the same, except for the confusion about how names work (names created in the function are only available in the function). So you could just do this:
third_list = RAND(start, finish, num) fourth_list = RAND(start, finish, num)
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures