Message6380
PUTTING PARENTHESES AROUND S
def print_n(s,n):
if n <=0:
return
print (s)
print_(s,n-1)
print_n(s,n)
RUN MODULE
RESTART: C:/Users/Henrike
Schwenn/Roaming/Programs/Python/Python36/eigene Funktionen/rekursive
Funktionen/Test print_n(s,n) - Downey S. 58.py
Traceback (most recent call last):
File "C:/Users/Henrike Schwenn/Roaming/Programs/Python/Python36/eigene
Funktionen/rekursive Funktionen/Test print_n(s,n) - Downey S. 58.py",
line 11, in <module>
print_n(s,n)
NameError: name 's' is not defined
>>>
TYPE: SYNTAX |
|
Date |
User |
Action |
Args |
2019-03-08 11:20:19 | When in trouble, go to the library | set | messageid: <1552044019.93.0.780862314018.issue2551028@roundup.psfhosted.org> |
2019-03-08 11:20:19 | When in trouble, go to the library | set | recipients:
+ When in trouble, go to the library |
2019-03-08 11:20:19 | When in trouble, go to the library | link | issue2551028 messages |
2019-03-08 11:20:19 | When in trouble, go to the library | create | |
|