• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Could anyone explain this solution

https://imgur.com/a/AApuq53

python
23rd Jun 2022, 4:36 AM
Hubert Huang
1 Answer
0
It’s a python generator. Typically, you’ll save the generator in a variable, and then call next() on it. Example: https://code.sololearn.com/c5xagCLt2OYB/?ref=app More on Python Generators: https://www.geeksforgeeks.org/generators-in-python/
23rd Jun 2022, 5:35 AM
Jeremias

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Which is easier to learn first between python and JS?
0 Votes
Does sololearn teaches on how to create games
0 Votes
Excuse me, why do they always ask us to input without telling us what it is for in python.
2 Votes
Sockets, etc
0 Votes
Quiz
0 Votes
I HAVE A PROBLEM I CANNOT ABLE TO SEND MESSAGE ANYONE AND ALSO MY MESSAGE SECTION NOT AVAILABLE "PLEASE ACTIVATE YOUR ACCOUNT
0 Votes
Any Sololearn Chat Groups that I could Join?
0 Votes
NecesitĂł ayuda
1 Votes
can't understand an error
0 Votes
Table tags on html
0 Votes