dem10
0
Newbie Poster
Recommended Answers
Jump to PostI think you might mean this:
# access count using a bookie or helper function # (code from G-Do) def bookie(func): """helper function""" func.count += 1 def f3(): bookie(f3) # your code goes here f3.count = 0 for k in range(10): f3() print "Function f3() has been …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.