We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I not found in this repository about this grammar. so, I open this issue. My CPython version is 3.7.1
class C: def f1(self, a): if a[0][0] == 0: return a else: a[0][0] -= 1 self.f1(a) return a print(C().f1([[5, 2],[3, 4]]))
result:
>>> [[0, 2], [3, 4]]
class C: def f1(self, a): if a == 0: return a else: a -= 1 self.f1(a) return a print(C().f1(3))
result
>>> 2
Just defining functions is the same. Thank you.
The text was updated successfully, but these errors were encountered:
Great, thanks for suggesting this @daidai21
Will definitely add this in the next iteration.
Sorry, something went wrong.
b10b3ad
Add another needle-like example
2d4bfb3
Closes satwikkansal/wtfpython#137
satwikkansal
No branches or pull requests
Hello, I not found in this repository about this grammar. so, I open this issue.
My CPython version is 3.7.1
result:
result
Just defining functions is the same.
Thank you.
The text was updated successfully, but these errors were encountered: