Hi, i'm bad at programming -___- help. Also, I want to join the community :)

Discussion in 'Introductions' started by Irulenot, May 9, 2013.

  1. #1
    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
    [​IMG] 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 [​IMG]

    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 :/
     
    Irulenot, May 9, 2013 IP
  2. Revelations-Decoder

    Revelations-Decoder Well-Known Member

    Messages:
    3,028
    Likes Received:
    152
    Best Answers:
    4
    Trophy Points:
    190
    #2
    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.
     
    Revelations-Decoder, May 10, 2013 IP
  3. Irulenot

    Irulenot Greenhorn

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #3
    ahh ok thanks a lot :)
     
    Irulenot, May 10, 2013 IP
  4. VukasinI

    VukasinI Well-Known Member

    Messages:
    617
    Likes Received:
    117
    Best Answers:
    2
    Trophy Points:
    115
    #4
    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.
     
    VukasinI, May 11, 2013 IP