credits() Print credits
Last updated: 2026-09-22
credits() Print credits
credits() prints credits for the Python project.
| Category | Built-in Functions |
|---|---|
| Kind | Built-in Function |
| Python Version | all |
📝 Syntax
credits()
Returns:None; prints credits information.
▶ Example
Edit the code, press Run, and see the result in the output panel:
Output:
credits ok
🏷️ Related Built-in Functions
💡 Related Cases
More case studies coming soon — check back later.
❓ FAQ
QWhat does credits() print?
AIt prints acknowledgements for Python contributors, visible when called in an interactive interpreter.
QDoes calling credits() in a script make sense?
ANo — it is a helper for the interactive interpreter; in a script it only prints a chunk of acknowledgement text with no business value.
QDoes credits() return a value?
ANo, it returns None and writes the content directly to standard output.
QAre credits(), copyright(), and license() the same kind of function?
AYes, all three are REPL information-display functions that respectively show acknowledgements, copyright, and license, purely for display purposes.