9 lines
245 B
Python
9 lines
245 B
Python
input = [174, 28, 27, 479, 401, 291]
|
|
x = 13
|
|
|
|
for i in range(0, max(input)+1):
|
|
lat = x%8+2
|
|
long = x%11+44
|
|
x = (16807*x)%4294967295
|
|
if i in input:
|
|
print(i, x, lat, long, "46°34'{}''".format(lat), "0°22'{}''".format(long)) |