#39083: python 一行解


christang426859.2@gmail.com (油蔥)


利用map把ord函數映射到每個字元

print時用sep參數 = '_' 分開即可:

print(*map(ord, input()), sep='_')