We’re sorry but it’s not possible to identify a variety of pepper based on the look alone since they all look similar, especially when they are green. Some varieties of the shape shown are spicy while others are not. Some ripen yellow and others red. That’s one of the problems with “pass along seeds” is that you get no clear idea of what you’re growing and when it will be ripe. The best thing would be to ask the person who gave you the seeds, but if that’s not possible, wait and see if the pepper turns yellow or red but pick it before it gets soft. Once you cut it touch only a tiny, tiny bit of it to your tongue to see if it’s spicy. Until you know how spicy it is don’t get the juices on your fingers since really spicy peppers will burn if you touch the juices to your face etc.