# 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: | 624 / 544 |
Referenced in: | #1002000 - Test pythonToJavaTok on bot.py #1002001 - Port bot.py to JavaX #3000202 - Answer for stefanreich (>> T conversion bot) #3000238 - Answer for stefanreich (>> t power bot) #3000382 - Answer for ferdie (>> t = 1, f = 0) |