Last active
October 4, 2024 14:48
-
-
Save mailsonsoares/70a0ba125f2726b29c01a35619157fee to your computer and use it in GitHub Desktop.
testes_python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Q2129288 | |
| def ABC(L, n): | |
| while True: | |
| if len(L) >= n: | |
| return L | |
| else: | |
| print("--(len(L))--") | |
| print("-----------------") | |
| print(L) | |
| print(len(L)) | |
| print(len(L) ** 2) | |
| L.append(len(L) ** 2) | |
| print("--(len(L) ** 2)--") | |
| print("-----------------") | |
| print(L) | |
| print(len(L)) | |
| print(len(L) ** 2) | |
| print (ABC([20],10)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment