Mercurial > repo
comparison bin/beat @ 11935:4ade46a1e935 draft
<wob_jonas> `` echo \'#!/usr/bin/python3;import math,time;b = math.floor(100*((time.time()+3600) % 86400) / 86.4);print("%03d.%02d"%(b//100,b%100))\' | tr \\; \\\\n > bin/beat; chmod -v a+x bin/beat
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 13 Sep 2019 10:44:14 +0000 |
parents | 0c0c59f53dc2 |
children | 5291f08331b3 |
comparison
equal
deleted
inserted
replaced
11934:0c0c59f53dc2 | 11935:4ade46a1e935 |
---|---|
1 #!/usr/bin/python3 | 1 #!/usr/bin/python3 |
2 import math,time | 2 import math,time |
3 b = math.floor(100*((time.time()+3600) % 86400) / 86.4) | 3 b = math.floor(100*((time.time()+3600) % 86400) / 86.4) |
4 print("%03d.%02d"%(b//100,b%100)) | 4 print("%03d.%02d"%(b//100,b%100)) |