#Snake and Ladder
#!/usr/bin/python3
import random
count=0
r=0
while count<=100:
	roll=input("press r to roll the dice:")
	if roll=="r":
		r=random.randint(1,6)
		count=count+r
		print("your random num is",r)
		print("you are on count",count)
	
	if count==8:
		count=37
		print("u climb the ladder to",count)
	elif count==11:
		count=2
		print("snake ate u to",count)
	if count==13:
		count=34
		print("u climb the ladder to",count)
	elif count==25:
		count=4
		print("snake ate u to",count)
	if count==38:
		count=9
		print("snake ate u to",count)
	elif count==40:
		count=68
		print("u climb te ladder to",count)
	if count==52:
		count=81
		print("u climb the ladder to",count)
	elif count==65:
		count=46
		print("snake ate u to",count)
	if count==76:
		count=97
		print ("u climb te ladder to",count)
	elif count==89:
		count=70
		print("snake ate u to",count)
	if count==93:
		count=64
		print("snake ate u to",count)
