Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- """
- Created on Sat Nov 21 17:00:48 2020
- @author: Sergey
- """
- a=int(input())
- if (a==0) or (a==360):
- print('Север')
- elif (a>0)and(a<90):
- print('Северо-восток')
- elif a==90:
- print('Восток')
- elif (a>90)and(a<180):
- print('Юго-восток')
- elif a==180:
- print('Юг')
- elif (a>180)and(a<270):
- print('Юго-запад')
- elif a==270:
- print('Запад')
- elif (a>270)and(a<360):
- print('Северо-запад')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement