Chō - Han

Chō - Han

By SlashReal | Coding_tuts | 21 Mar 2023


Chō - Han 

import random 

ranum = int(random.uniform(1, 6))

ranum2 = int(random.uniform(1, 6))

erg = ranum + ranum2

rest = erg % 2

if rest == 1:

    print('Han')

else:

      print('Chō')

 

Thats a japanese gambling game. 

How do you rate this article?

0



Coding_tuts
Coding_tuts

Programming tutorials

Publish0x

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.

Page not displaying correctly?