我正在使用Sublime3来编写和编译python代码 出于某种原因,SublimeREPL没有正确显示标签,但是cmd确实显示了标签。为什么这样,我该如何解决?
parantezeDeschise=0 # counts '('
locatieParanteze=[] # location of '('
for i in range(len(self.Propozitie)):
print str(i+1)+'.',
if self.Propozitie[i]=='(': # for every '(' there should be a TAB
print (parantezeDeschise * '\t'),self.Propozitie[i],'cere formula compusa'
parantezeDeschise+=1
locatieParanteze.append(i)
elif self.Propozitie[i]==')': # every ')' removes a TAB
parantezeDeschise-=1
print (parantezeDeschise * '\t'),self.Propozitie[i],'rezolva formula compusa [',locatieParanteze.pop()+1,']'
else:
print (parantezeDeschise * '\t'),self.Propozitie[i]