Skip to content
Pooja Bhatia Classes Hari Nagar
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
Pooja Bhatia Classes Hari Nagar

Author name: PythonCSIP CS IP

10. Check Point 6.1 has some recursive functions that cause infinite recursion. Make changes in the definitions of those recursive functions so that they recur finitely and produce a proper output.

sa 12 cs chapter 6 / PythonCSIP CS IP

# Checkpoint 6.1 (b) def recur(p): if p == 0: print(“##”) else: recur(p) p = p-1 recur(5) # The above code will run into infinite recursion because the value of p is being decremented after the recursion call. So it is never actually changing. The correct way: def recur(p): if p == 0: print(“##”) else: […]

10. Check Point 6.1 has some recursive functions that cause infinite recursion. Make changes in the definitions of those recursive functions so that they recur finitely and produce a proper output. Read More »

2. Implement a function product( ) to multiply 2 numbers recursively using + and – operators only.

sa 12 cs chapter 6 / PythonCSIP CS IP

2. Implement a function product( ) to multiply 2 numbers recursively using + and – operators only. Read More »

Post pagination
← Previous 1 … 98 99 100 … 554 Next →
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
  • We teach following classes
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship

Copyright © 2026 Pooja Bhatia Classes Hari Nagar | Powered by Pooja Bhatia Classes Hari Nagar.