Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bslatkin/effectivepython
/ input
Function
input
example_code/item_086.py:144–146 ·
view source on GitHub ↗
(prompt)
Source
from the content-addressed store, hash-verified
142
raise
KeyboardInterrupt
143
144
def
input(prompt):
145
print(f
"{prompt}y"
)
146
return
"y"
147
148
def
main(argv):
149
while
True:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected