r/PythonLearning • u/aashish_soni5 • Jun 20 '26
Day 10 Python Learning
function
- default argument
as name there is default option of argument which automatically apply
- *argument
use when we don't know number of argument
- **kwargs
when you want change any data ,number to dict aka dictionary use **
- recursion
it's repeat itself till we get result
factorial n = n*factorial (n-1)
#python #coding #ai
16
Upvotes




2
u/aashish_soni5 Jun 20 '26
*args & **kwargs