20 lines
254 B
Python
20 lines
254 B
Python
|
|
|
|
def game():
|
|
|
|
answer=input('Would you like to play a game?(y/n)')
|
|
|
|
if answer.lower() =='y':
|
|
print('Welcome to the Adventure')
|
|
start = True
|
|
inventory = []
|
|
|
|
else:
|
|
print( 'Ok Maybe Some other time' )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
game() |