roundtable

Members
  • Posts

    5
  • Joined

  • Last visited

roundtable's Achievements

  1. tried it quickly before class on Python 3.0. i think i did something wrong though. i will try it on Python 2.5 and see if it works on tuesday. thanks thanks thanks!! will let you know...
  2. there is a girl in our class who has a minor in computer science and she is having a hard time too...which made me feel better. But here's 2 lab questions that i have no idea how to begin (maybe after i read some more) Write a function slope (x1,y1,x2,y2) that returns the slope of the line through the points (x1,y1) and (x2,y2). Then use this function in a function called intercept (x1,y1,x2,y2) that returns the y-intercept of the line through the points (x1,y1) and (x2,y2). Write a function that calls the slope function to fin the slope of a line passing through the origin (0,0) and the following set of points in the table. You must use either looping or recursion (i.e. you can't just code the whole thing). x 1 1 1 1 1 1 1 1 1 y 2 4 6 8 10 12 14 16 18 thanks for any guidance anyone can give!!!
  3. This is the deal: I'm taking a summer class where we have to learn python in 4 weeks and then spend the next 4 weeks applying it to GIS Arc Map. We have to work with Python 2.5. I don't mind all the help anyone wants to give. The reason: I am computer illiterate and the teacher doesn't believe in teaching: you could miss every class and get the same grade as if you showed up for every class. I think he thinks teaching is spoon feeding babies or something. I have 9 lab questions to figure out by tuesday evening. I'm sure I'm gonna get stuck so keep an eye out for me on tuesday...thats the only day i can get to the lab!!! until then i'll be reading and rereading the power points, the online python book and the python for beginners book i bought for just in case...i understand the concepts but having a hard time applying to lab...
  4. try sleeping without a pillow...
  5. Need help with a python program lab problem: Create a function that generates 1000 random numbers between 0-100.