#NEWLINE# def miles( kilometers = 0 , meters = 0 , feet = 0 , nautical = 0 ) : #NEWLINE# #INDENT# mi = 0.0 #NEWLINE# if nautical : #NEWLINE# #INDENT# kilometers += ( nautical / nm ( 1.0 ) ) #NEWLINE# #UNINDENT# if feet : #NEWLINE# #INDENT# mi += ( feet / ft ( 1.0 ) ) #NEWLINE# #UNINDENT# if meters : #NEWLINE# #INDENT# kilometers += ( meters / 1000.0 ) #NEWLINE# #UNINDENT# mi += ( kilometers * 0.621371192 ) #NEWLINE# return mi