Dec-17-2018, 06:34 AM
Welp, here goes!!
I'm very new to Python. Well, I'm new to programming in general. I work for a company that surveys buildings for future wireless infrastructure, and I wanted to build a program that would help my fellow co-workers to determine the type of WAP and mount they would use for installation. I decided to attempt to write a program that would ask simple questions and based off their answer, provide them with the package needed. Here is a quick example of what I have currently
I'm very new to Python. Well, I'm new to programming in general. I work for a company that surveys buildings for future wireless infrastructure, and I wanted to build a program that would help my fellow co-workers to determine the type of WAP and mount they would use for installation. I decided to attempt to write a program that would ask simple questions and based off their answer, provide them with the package needed. Here is a quick example of what I have currently
value1 = input('Is the WAP going to be used Indoor or Outdoor? ') print ('okay, you chose '+value1) value2 = input ('Now, will this be an Omni or Directional?') print ('okay, you chose' +value2) if value1 == Indoor & value2 == Omni: print ('Test worked')I get an error that says "Indoor not defined" and I'm a little confused because I assumed line 5 defines value1 as Indoor. Theres a lot more to this program, but if I can figure out how to use stored variables, it will at least get me started. I've spent hours researching videos and I cannot seem to find the right answer.