comefrom: <qiyuangong>246_Strobogrammatic_Number_1.py
code: def isStrobogrammatic( num):
      dic = {'0':'0', '6':'9', '9': '6', '1' :'1', '8': '8'}
      temp_s = ''
      for c in num[::-1]:
          if c not in dic:
              return False
          temp_s += dic[c]
      if int(temp_s) == int(num):
          return True
      return False
masked: def sample_funcname ( var_0 ) :
      var_6 = { '0' : '0' , '6' : '9' , '9' : '6' , '1' : '1' , '8' : '8' }
      var_8 = ''
      for var_10 in var_0 [ : : - 1 ] :
          if var_10 not in var_6 :
              return False
          var_8 += var_6 [ var_10 ]
      if int ( var_8 ) == int ( var_0 ) :
          return True
      return False
  