from utils import myinput
def main():
turtle_1_x = float(input('Please provide the X coordinate of turtle1 between -350 and 350: '))
while turtle_1_x < -350 or turtle_1_x > 350:
turtle_1_x = float(input('Wrong value. Please provide the X coordinate of turtle1 between -350 and 350: '))
turtle_1_y = float(input('Please provide the Y coordinate of turtle1 between -250 and 250: '))
while turtle_1_y < -250 or turtle_1_y > 250:
turtle_1_y = float(input('Wrong value. Please provide the Y coordinate of turtle1 between -250 and 250: '))
turtle_1_speed = float(input('Please provide the speed of turtle1 between 0 and 10: '))
while turtle_1_speed < 0 or turtle_1_speed > 10:
turtle_1_speed = float(input('Wrong value. Please provide the speed coordinate of turtle1 between 0 and 10: '))
turtle_2_x = float(input('Please provide the X coordinate of turtle2 between -350 and 350: '))
while turtle_2_x < -350 or turtle_2_x > 350:
turtle_2_x = float(input('Wrong value. Please provide the X coordinate of turtle2 between -350 and 350: '))
turtle_2_y = float(input('Please provide the Y coordinate of turtle2 between -250 and 250: '))
while turtle_2_y < -250 or turtle_2_y > 250:
turtle_2_y = float(input('Wrong value. Please provide the Y coordinate of turtle2 between -250 and 250: '))
turtle_2_speed = float(input('Please provide the speed of turtle2 between 0 and 10: '))
while turtle_2_speed < 0 or turtle_2_speed > 10:
turtle_2_speed = float(input('Wrong value. Please provide the speed coordinate of turtle2 between 0 and 10: '))
print('Turtle 1 will appear at', turtle_1_x, ',' ,turtle_1_y, 'and will move at speed', turtle_1_speed)
print('Turtle 2 will appear at', turtle_2_x, ',' ,turtle_2_y, 'and will move at speed', turtle_2_speed)
main()