Advertisement
mlot

Magic8Ball

May 6th, 2025
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 KB | None | 0 0
  1. # Magic8Ball
  2.  
  3. import random
  4.  
  5. messages = ['It is certain',
  6.              'It is decidedly so',
  7.              'Yes definitely',
  8.              'Reply hazy, try again',
  9.              'Ask again later',
  10.              'Concentrate and ask again',
  11.              'My reply is no',
  12.              'Outlook not so good',
  13.              'Very doubtful']
  14.  
  15. print(messages[random.randint(0,len(messages) -1)])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement
OSZAR »