Update py_common.py (#143)
This commit is contained in:
parent
66c29840b0
commit
0d7a310007
@ -231,7 +231,7 @@ def squawk(binstr: str) -> str:
|
||||
binstr (String): 13 bits binary string
|
||||
|
||||
Returns:
|
||||
int: altitude in ft
|
||||
string: squawk code
|
||||
|
||||
"""
|
||||
if len(binstr) != 13 or not set(binstr).issubset(set("01")):
|
||||
|
Loading…
Reference in New Issue
Block a user