github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/talks/2013/go4python/dyntyp.py (about)

     1  #!/usr/bin/python
     2  
     3  import random
     4  
     5  name = 'pythonista'
     6  
     7  # This code only works half of the time.
     8  if random.random() > 0.5:
     9  	print 'hey '+name+', you win!'
    10  else:
    11  	print 'sorry '+nane+', you lose'