Double Code In Python For Creating