fpexp = "( 1 + 1 )" fplist = fpexp.split() for i in fplist: print i