Both lenses are zooms.
For $40. it's really a no brainer for someone just getting involved in the hobby. The advantage to a prime(not zoom) lens is they are smaller, lighter & usually sharper.
I can pretty much guarantee you wouldn't see the difference in picture quality between them for a long time
unless one of the zooms is really bad.