I have been doing python, and im not that great at it, but am trying to learn the ins and outs.
im having a problem with some code, this is what i want;
*user inputs some information after a question* this is an interger under a word... here's some code to explain:
aaoc=raw_input("enter your selection, between 1-9:")
I then want to do something like the following...
import random
random.randint(1,aaoc)
I'm sure you can see what im trying to do, simply give the user a range option on a random output.
I've never really understood the conversions, I'm guessing ill need to add some "str" somewhere, I've tried a few spots and none work.
Thanks in advance, having this answered if possible will clear ALOT up for me, because int and str functions i never actually caught onto when in class.
p.s my programming jargon sucks, so i probably look silly, hope you don't mind
edit: i also realize this isn't really a spot to ask python support, but i've seen some of the stuff some of you have said regarding python and you all seem quite knowledgeable, and im unsure where else to ask.