sample python practiced program