```python def caesar_cipher(ming, n): cipher_text = '' for char in ming: if char.islower(): new_char = chr((ord(char) - ord('a') + n) % 26 + ord('a')) else: new_char = char cipher_text += new_char return cipher_text ming = input() n = int(input()) result = caesar_cipher(ming, n) print(result) ``` [2024-12-16 16:21:46 | AI写代码神器 | 243点数解答]