import tello
from time import sleep

drone = tello.Tello()
drone.streamon()
drone.takeoff()
sleep(5)
drone.streamoff()
drone.land()