TechPoint (IN) interview question

use python to answer 5 ds questions