1. Write a Python script that asks the user to enter a length in centimetres. If the user enters a negative length, the program should tell the user that the entry is invalid. Otherwise, the program should convert the length to inches and print out the result. There are 2.54 centimetres in an inch.

# Code
cm = int(input(‘Enter length in cm : ‘))
if cm < 0:
print(‘invalid entry’)
print(cm/2.54, ‘inches’)