通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
s="ABCD" for a in s: if a!=s[-1]: print(a,end="," else: print(a)
程序输出结果正确的格式是( )。