in reply to Re^5: Nesting Functions
in thread Nesting Functions
fruits = ["apple", "banana", "cherry"] for x in fruits: print(x) if x == "banana": print(y) if x == "apple": y=1
whips himself
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Nesting Functions
by LanX (Saint) on Jul 19, 2019 at 14:22 UTC |