Take off to certain height

How do I get my tello to take off and rise to a certain height using Python?

Unfortunately no. Takeoff altitude for Tello is hardcoded into the firmware. You can always takeoff and then adjust altitude with fly up or down.