suspect = {'Height':6,'Colour':'Fair','Residency':'Pune'}
Name = input('Please enter your name')
Verification = int(input('Please enter Height ')
if Verification == suspect['Height']:
print('Suspect is detected for 1st level')
else:
print('Suspect is not detected for 1st level')**
Обратите внимание, что мой сценарий таков: если при условии {'Height': 3, 'Colour': 'Fair', 'resident': 'Pune'}
обнаружено suspect
, имя должно быть сохранено, а код продолжен. Это означает, что 'Please enter your name'
и 'Please Enter Height'
следует продолжать спрашивать.