最好用的企业网站cms,营销方案100例,六盘水网站建设,路由器屏蔽网站怎么做Code
N int(input())
D_N 2*N
# print(Yes)if len(str(D_N))>len(str(N)):print(No)
else:for s in str(D_N):if s not in str(N) or str(D_N).count(s)!str(N).count(s):print("No")breakelse:print(Yes)
print(D_N)
Code
N=int(input())
D_N =2*N
# print('Yes')iflen(str(D_N))>len(str(N)):print('No')else:for s instr(D_N):if s notinstr(N)orstr(D_N).count(s)!=str(N).count(s):print("No")breakelse:print('Yes')print(D_N)