Sign in
go
/
talks
/
81d7d5b93272feace7b82a6cc55ff6c7d2d8f570
/
.
/
2013
/
go4python
/
dyntyp.py
blob: fa9e4eadc88eb939bf994b1a8872752fe8469bdd [
file
]
#!/usr/bin/python
import
random
name
=
'pythonista'
# This code only works half of the time.
if
random
.
random
()
>
0.5
:
print
'hey '
+
name
+
', you win!'
else
:
print
'sorry '
+
nane
+
', you lose'