# Latitude of the position

Classified in Computers

Written at on English with a size of 5.43 KB.

 Tweet

carA = int(input("Can you please enter the top speed of a ferrari"))

carB = int(input("Can you please enter the top speed of a lamborghini"))

if carA>=carB:

print ("The fastest car is a ferrari")

elif carB>carA:

print ("The fastest car is a lamborghini”)

coins = int(input("Could you please enter the number of coins te pirate found(max 1000) then press enter"))

if coins >=1 and coins <=100:

print ("this is a small trasure")

elif coins >=101 and coins <=500:

print ("this is a medium treasure")

elif coins >=501 and coins <=1000:

print ("this is a BIG trasure”)

age = int(input("To know if you are old enogh to ride a bike could you please enter your age"))

if  age > 16:

print("you can ride a bike")

else :

print("you can't ride a bike until you are 16 ):”)

games = The things thaat I like to do (my hobbies) are this ""Play basketball","play to the Playstation","play minecraft","play ping pong"

print (games)

foods = "My favorite foods are""pizza","broccoli","avocado","chips","chorizo"

favorites = (games+foods)

print ("These are my favorite food and Hobbies: ")

print (favorites)

HouseList = ( "Blues","Red","Orange","Purple")

Position = int(input("Please put a number between 0 and 3: "))

print (HouseList[Position])

for count in range(5):

coins = int(input("Could you please enter the number of coins te pirate found(max 1000) then press enter"))

if coins >=1 and coins <=100:

print ("this is a small trasure")

elif coins >=101 and coins <=500:

print ("this is a medium treasure")

elif coins >=501 and coins <=1000:

print ("this is a BIG trasure")

RedHearts = int(input("please input how many red hearts you have :"))

GreenHearts = int(input("please input how many green hearts you have :"))

StolenRedHearts = int (input("please input how mamy red hearts you have been stollen :"))

LivesLeft = RedHearts + ( GreenHearts*100 ) - StolenRedHearts

print ("you have {0} lives left".Format (LivesLeft))