#38871: python參考


s12350325@go.thu.edu.tw (王嘉葳@go.thu)

學校 : 不指定學校
編號 : 258057
來源 : [125.228.33.151]
最後登入時間 :
2024-04-22 23:59:50
c007. 00272 - TeX Quotes -- UVa272 | From: [118.163.199.174] | 發表日期 : 2023-12-29 02:39

n=0
try :
    while(True):
        N=input()
        for i in N:
            if (i == '"'):
                n+=1
                if (n%2 == 1):
                    print("``", end="")
                else:
                    print("''", end="")
            else:
                print(i, end="")
        print('')
except:
    pass
 
ZeroJudge Forum