User Tools

Site Tools


dardan:cyberacademy:python:awesome_game_py

#!/usr/bin/python print “-“*150 print “This is the first game that we build” print “You gonna guess the numbers in a logic way to get a the schedule of Cyber Academy” print ”-“*150

name = “Drinor Selmanaj” orari = “Hane, Merkure, Premte” koha = “18:00 - 21:00” lost = “You Lost!!!!!!!!!!!!!” guess = input(“type a number beetween 1 -7: ”) if guess == 1:

print ("You guest it: ")
guess_1 = input("Type a another number beetween 2-7: ")
if guess_1 == 3:
	print "You guess it "
	guess_2 = input("Now guess a number beetween 4-7: ")
	if guess_2 == 5:
		guess_3 = input ( "You are good at this,  choose  1) 18:00-21:00 2) 17:00-20:00: ")
		if guess_3 == 1:
			print "you are at the end"
			guess_4 = input("did u like this game or no 1) YES, 2) no: ")
			if guess_4 == 1:
				print "$"*150
				print "you won, here is the infoo"
				print "Teacher is {}, we go on these days {}, and at this time {}".format(name,orari,koha)
				print "$"*150
			else:
				print lost
		else:
			print lost
	else:
		print lost
else:
	print lost

elif guess == 2:

print ("You guest it: ")
guess_1 = input("Type a another number beetween 3-7: ")
if guess_1 == 4:
	print "You guess it "
	guess_2 = input("Now guess a number beetween 5-7: ")
	if guess_2 == 5:
		guess_3 = input ( "You are good at this,  choose  1) 18:00-21:00 2) 17:00-20:00: ")
		if guess_3 == 1:
			print "you are at the end"
			guess_4 = input("did u like this game or no 1) YES, 2) no: ")
			if guess_4 == 1:
				print "$"*150
				print "you won, here is the infoo"
				print "Teacher is {}, we go on these days {}, and at this time {}".format(name,orari,koha)
				print "$"*150
			else:
				print lost
		else:
			print lost
	else:
		print lost
else:
	print lost

elif guess == 3:

print ("You guest it: ")
guess_1 = input("Type a another number 1 , 2, 4, 5, 6, 7,: ")
if guess_1 == 1 or guess_1 == 5:
	print "You guess it "
	guess_2 = input("Now guess a number beetween 1-7: ")
	if guess_2 != guess_1 and guess_2 == 1 or guess_2 == 5:
		guess_3 = input ( "You are good at this,  choose  1) 18:00-21:00 2) 17:00-20:00: ")
		if guess_3 == 1:
			print "you are at the end"
			guess_4 = input("did u like this game or no 1) YES, 2) no: ")
			if guess_4 == 1:
				print "$"*150
				print "you won, here is the infoo"
				print "Teacher is {}, we go on these days {}, and at this time {}".format(name,orari,koha)
				print "$"*150
			else:
				print lost
		else:
			print lost
	else:
		print lost
else:
	print lost

elif guess == 4:

print ("You guest it: ")
guess_1 = input("Type a another number 1, 2, 3, 5, 6, 7,: ")
if guess_1 == 2 or guess_1 == 5:
	print "You guess it "
	guess_2 = input("Now guess a number beetween 1-7: ")
	if guess_2 != guess_1 and guess_2 == 2 or guess_2 == 5:
		guess_3 = input ( "You are good at this,  choose  1) 18:00-21:00 2) 17:00-20:00: ")
		if guess_3 == 1:
			print "you are at the end"
			guess_4 = input("did u like this game or no 1) YES, 2) no: ")
			if guess_4 == 1:
				print "$"*150
				print "you won, here is the infoo"
				print "Teacher is {}, we go on these days {}, and at this time {}".format(name,orari,koha)
				print "$"*150
			else:
				print lost
		else:
			print lost
	else:
		print lost
else:
	print lost

elif guess == 5:

print ("You guest it: ")
guess_1 = input("Type a another number but 5: ")
if guess_1 == 2 or guess_1 == 4:
	print "You are doing fine"
	guess_2 = input("Chose 1) 18:00-21:00, 2) 17:00-20:00: ")
	if guess_2 == 1:
		print "you made it your at the end"
		guess_3 = input("One last question. Did you like this game 1) YES, 2) no: ")
		if guess_3 == 1:
			print "$"*150
			print "you won here is the infoo"
			print "Teacher is {}, we go on these days {}, and at this time {}".format(name,orari,koha)
			print "$"*150
		else:
			print lost
	else:
		print lost
else:
	if guess_1 == 1 or guess_1 == 3:
		print "You are doing fine"
		guess_2 = input("Chosee 1) 18:00-21:00, 2) 17:00-20:00: ")
		if guess_2 == 1:
			print "You made it, your at the end "
			guess_3 = input("One last question. Did you like this game 1) YES, 2) no: ")
			if guess_3 == 1:
				print "$"*150
				print "You won this game here is the info"
				print "Teacher is {}, we go at these days {}, and at this time {}".format(name,orari,koha)
				print "$"*150
			else:
				print lost
		else:
			print lost
	else:
		print lost

else:

print "You lost!!!!!!!!!"

# mad by TIKI :)

dardan/cyberacademy/python/awesome_game_py.txt · Last modified: 2018/09/10 19:30 by dardan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki