Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions 8ballmine.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from random import randint
def answer(num):
if(num==1):
return 'its certain'
Expand All @@ -13,12 +14,12 @@ def answer(num):
return 'no dont are you mad!!!'
elif(num==7):
return 'Whatever the heart says'

i=0
while(i<2):
from random import randint
print('ready to know your fate ?\n type your question !!:')
print('Ready to know your fate ?\n type your question !!:')
x=input()
r=randint(1,7)
print(answer(r))
print("\n To ask again press 1 : \n To quit press two ")
i=int(input())
i=int(input())