Skip to content

Instantly share code, notes, and snippets.

View milind007K's full-sized avatar

milind khorgade milind007K

View GitHub Profile
import random
rock = '''
_______
---' ____)
(_____)
(_____)
(____)
---.__(___)
'''
import random
rock = '''
_______
---' ____)
(_____)
(_____)
(____)
---.__(___)
'''
print("welcome to treasure island")
print("your mission is to find the treasure")
choice1 = input('you are at the crossroad where do you want to go?'
' type "left" or "right".').lower()
if choice1 == "left":
choice2 = input('you\'ve come to a lake , there is a island in the middle of the lake . '
'type "wait" to wait for the boat. type "swim" to swim across')
if choice2 == "wait":
print("welcome to treasure island")
print("your mission is to find the treasure")
choice1 = input('you are at the crossroad where do you want to go?'
' type "left" or "right".').lower()
if choice1 == "left":
choice2 = input('you\'ve come to a lake , there is a island in the middle of the lake . '
'type "wait" to wait for the boat. type "swim" to swim across')
if choice2 == "wait":
@milind007K
milind007K / Day1ProjectBandNameGenerator.py
Created January 1, 2026 17:10
Day 1 Project: Band Name Generator Introduction to the Band Name Generator Project In this final project, we will build a Band Name Generator program. The program asks the user for the city they grew up in and the name of their pet, then combines these inputs to create a band name.
# print("welcome to the band name generator")
# city = input("which city did you grow up in \n")
# pet = input("what is a name of a pet\n")
# print("your band name could be : " + city + " " + pet )
print("welcome to band name generator")
city = input("what is the city you grow up in ?")
print(city)
pet = input("what is your pet name ")