Sergei089 / python_ex

1 stars 1 forks source link

Hexlet #81

Open vovs03 opened 1 year ago

vovs03 commented 1 year ago

Hexlet 32

# normas.py

# addr ='http://ai.fi'

addr ='ai.fi'
p = "https://"

#
if addr[:8] == 'https://':
    print(addr)

#
elif addr[:7] == 'http://':
    print(p + addr[7:])
#
elif addr[:8] != 'https://':
    print(p + addr)

'''
else:
    print('Не нормализован')
'''