Python Puzzles
Sunday, April 28, 2024
📑 Recursive Tables
📑 Task
1) What type of function is this?
2) How can you rewrite it so as not to use recursion?
📑 Answer
1) This is a recursive generator
It can be made infinite by removing the limiter max_count
2)
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
📑 Curly Braces inside F-strings
📑 Task 1) Will the code print out the elements of the interval? 2) What minimal changes can be made to the code to see the ...