Programming in Python I Functions: LEGB Rule & Recursion I Session - 12 | Hindi
ฝัง
- เผยแพร่เมื่อ 5 ก.ย. 2024
- Programming in Python I Functions: LEGB Rule & Recursion I Session - 12 | Hindi
In this session, we have discussed:
- LEGB rule
- Scoping of variables
- Recursion
Some questions you can try:
Q: Write a recursive function sum_list(L) which returns sum of all elements in the list
Q: Write a recursive function prod_list(L) which returns prod of all elements in the list
Q: Write a recursive function is_palindrome(s) which checks whether s is palindrome or not
Follow me on my social handles:
Bio link 🔗 param302.bio.link
Twitter 🔗 / param3021
LinkedIn 🔗 / param302
Github 🔗 github.com/Par...
Kaggle 🔗 kaggle.com/par...
Mere sare doubts clear kar diye, Sir aapne
Welcome sir :D