While I have seen people write "a" like in print, I've never seen anyone write a "g" with two loops/storeys.
[0] https://upload.wikimedia.org/wikipedia/commons/3/3f/Schoonsc...
Cursive g has two loops.
https://en.wikipedia.org/wiki/G#Typographic_variants
FWIW the 'g's in my input box here are single-storey.
Having said that, you prompted me to search for "double-story a" and sure enough, it's the same thing as with the g.
I tried once to write "g" with loop below as commonly printed, but I couldn't make it look decent.
As a kid, I was influenced by the font used in the Neverhood to adopt this style. :) At some point I even wrote lower case 'a's like in print. That didn't stick, but the 'g's did for whatever reason.
Neverhood example: https://i.imgur.com/kjrHpsr.gif