Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
random choice example
a guest
Oct 7th, 2016
988
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
#-*- coding: utf-8 -*-
import
random
choices
=
[
u
"Hello"
,
u
"How are you?"
,
u
"Have a nice day"
]
pick
=
random
.
choice
(
choices
)
print
pick
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Older module trading
CSS | 51 min ago | 1.00 KB
How to hack an exchange
CSS | 51 min ago | 1.00 KB
Got $12,000 from this module bug
CSS | 51 min ago | 1.00 KB
✅ This month smells like money
CSS | 51 min ago | 1.00 KB
Instant Profits Method
CSS | 51 min ago | 1.00 KB
Bought a $40 MacBook Air
15 hours ago | 0.55 KB
My Amazon Shoppe
20 hours ago | 0.40 KB
Untitled
23 hours ago | 0.42 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!