# deh function! def answer(s): return "OMG USER! I can't believe you just said: " + s # deh test program! oh, python is so nice and short. s = "hello computer!" print(s) print("> " + answer(s))
Runs with Python 2 and Python 3.
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001999 |
Snippet name: | bot.py - bot example in Python |
Eternal ID of this version: | #1001999/1 |
Text MD5: | 6b0977c791a64ff760ba657539e80156 |
Author: | stefan |
Category: | python to javax |
Type: | Document |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-12-11 20:27:33 |
Source code size: | 209 bytes / 10 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 594 / 538 |
Referenced in: | [show references] |