This will hopefully be my last noobish question post.
Please could somebody explain or link to explanation:
1.yeild
2.return
thanx in advance
Your_mum
0
Light Poster
Recommended Answers
Jump to PostYield is for generator functions. Return ends the function and sends back the specified value.
Generators are functions that return iterators, i.e. they 'yield' a value after each iteration of them, before proceeding to the next one. This is generally used for things where you don't need all the results …
All 3 Replies
shadwickman
159
Posting Pro in Training
Your_mum
commented:
helpful
+1
Your_mum
0
Light Poster
shadwickman
159
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.