python variable gets empty without reason code example Example: python empty variable #use NoneType as a placeholder variable = None