Is there any mistake | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Is there any mistake

Ii think there is a mistake please 🥺 find it out https://code.sololearn.com/cl70HpSx2nW4/?ref=app

1st Aug 2023, 10:56 AM
KARTIK Patel
KARTIK Patel - avatar
3 ответов
+ 8
KARTIK Patel , You can check by yourself.. Other hand.. plz describe what error message you're receiving. what you want specific output. Without knowing full information no one can find out errors..
1st Aug 2023, 11:33 AM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
0
def decode_code(code): """Decodes the given code. Args: code: The code to decode. Returns: The decoded code. """ decoded_code = "" for char in code: decoded_code += chr(ord(char) + 2) return decoded_code if __name__ == "__main__": code = "igbgql_nngleglaclrcpmd_p_`g" decoded_code = decode_code(code) print(decoded_code)
3rd Aug 2023, 2:43 AM
Sam Attal
Sam Attal - avatar
0
It runs without any error, what is the problem then?
3rd Aug 2023, 2:43 AM
Sam Attal
Sam Attal - avatar