Techfriar interview question

to write programs from python and C