def Summ(x):
while x<100:
x=x+1
print(x)
Summ(x)
return
What am I missing here?
There is no error and no ouput either !
I was expecting to get x as the ouput until it’s values reaches 100 but nothing happened.
For eg. if I enter Summ(2), the result should be :
3
4
5
6
.
.
.
99
But here there is no error nor any output, Please help me with these and pls also suggest resources to learn and improve recursion techniques in python,C and C++.
…………………………………
New contributor
Yashraj Sakunde is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1