application.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:nikola-tesla-alexa 作者: mekolowich 项目源码 文件源码
def MotherShipDistance():
    home=(latitude,longitude)
    fremont_ca = (37.5483, -121.9886)
    distance=int(vincenty(fremont_ca, home).miles)
    text="Your car is currently %d %s from the Tesla factory in Fremont California" % (distance*distscale,distunits)
    return statement(text)

# INTENTS THAT SEND COMMANDS TO THE CAR

# "Unlock my car for 10 minutes."
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号