tip calculator version 3 ; working with sys module