title: Name Error: name 'add' is not defined
body: <p>it my first time using Stack Overflow so please excuse any mistakes i have made. Im creating a program and i want ask mathematical questions for the user. But my program will generate two random numbers, and a random arithmetic operator will occur. They are plus, minus and times. So i put them into an array and this is the code.</p>
  
  <p>Code:</p>
  
  <p><img src="https://i.stack.imgur.com/neg5m.png" alt="enter image description here"></p>
  
  <p>The Error i gained:</p>
  
  <p><img src="https://i.stack.imgur.com/nOx49.png" alt="enter image description here"></p>
  
  <p>It said the Error is in Line 10.</p>
  
  <p>Ive tried doing this 'What is'+str(Ran) +,+str(op) +,+str(dom) +'?')
  However i gained an invalid syntax on the comma. </p>
  
  <p>Ive tried searching for this particular program, but all of them seem to have something called classes and def in. If it is possible, can i please not use the def and class in my program because i am new to python and i still need to learn what they are.</p>
  
  <p>I am using Python 3.4.2, on a Windows 8 operating system if you wanted to know.
  Thanks for reading, i am looking forward to have any assistance in my problem. </p>