Is it not possible to write the codes in python

Can i write the solution in python, or do i need to add some libraries or something