good names for these functions - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: good names for these functions (/thread-23433.html) |
good names for these functions - Skaperen - Dec-30-2019 def foo(s,n): ?????????? def bar(s,n): ?????????? def boo(s,n): ?????????? def far(s,n): ?????????? a=[x for x in range(10)] for z in foo(a,3): print(*z) print() for z in bar(a,4): print(*z) print() for z in boo(a,3): print(*z) print() for z in far(a,4): print(*z) there are 4 different functions with similarities and differences. i'm trying to come up with a good name scheme for these.
|