AI queries for demonstrating Atmospheric Physics

Query1 Properties of planetary and Saturn's moon Titan's atmospheres.

Write a python program that calculates the mass of the atmosphere for the planets and Titan using their surface pressure, surface area calculated from radius, and gravity.
Print the inputs and outputs for each of them. Print the pressure in mb, radius in km, the surface area in millions of square miles, and the acceleration due to gravity in Newtons/kg.
Use scientific notation and 2 digits of precision. Print out also the atmospheric composition by volume, and the average molecular mass for each planet. Include references.