Hey My name is Anthony I'm a nooby in need of lots of help I've been trying to teach myself how to program... and it is hard without any guidance I'm looking for a helpful community and want to make some online friends that can help me, and I want to help others as well when I learn the ways I find programming very interesting, and even though I have only done a couple small things on codeacademy, I truly feel that I want to code as I progress into the future of my life I hope it works out, and more importantly. I am going to make it work out as I haven't given up yet and don't plan on it I have been looking at the free lessons MIT has to offer also, and am stuck on their second homework assignment :/ Objective of assignment: Create a program that will get me to the 1000th prime number in Python def generator(i): i = 1 while True: yield i i = i + 1 def prime(n): n = range(2, i) if i % n != 0: print i def count_prime(): z = raw_input ("What prime do you wish to find?" ) generator(z) prime(n) If you can help me get on the right track that would be amazing My plan: create a generator, then a prime # indicator, and now i'm working on a function to track the amount of prime numbers so I can get whatever number I may be looking for Thanks lots! PS: I would love any advice or guidance, I don't know what I'm doing and I really want to learn. Because I have been obsessed with this even though I'm getting no where fast :/
Howdy Anthony welcome. You might want to post in the programing forum RE the above as this "introductions" part is some what a quiet area RE many posters who rarely venture in to these parts.
Welcome to the Digital Point. I hope you will spend some nice time here. I'm not so good at programming so I can't help, but I'm sure that there are people on this forum who can. All the best anyway.