---
title: "Discussion on \"Step-by-step: string reversal\" | Hashnode"
description: "Discussion on \"Step-by-step: string reversal\". Медленный разбор помогает понять код, а не просто скопировать его.\nЗадача\nПеревернуть строку: из \"python\" получить \"nohtyp\". Задача-разминка, знакомая каждому новичку.\nРешение\ndef reverse_string(s: st"
url: "https://hashnode.com/posts/step-by-step-string-reversal-mw9maka5/6af2162cb2a5f06bce4ba3ba"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Step-by-step: string reversal](https://news-ctl-posts.hashnode.dev/step-by-step-string-reversal-mw9maka5?utm_source=hashnode&utm_medium=feed)

Медленный разбор помогает понять код, а не просто скопировать его. Задача Перевернуть строку: из "python" получить "nohtyp". Задача-разминка, знакомая каждому новичку. Решение def reverse\_string(s: st

4d ago · 2 min read · news-ctl-posts.hashnode.dev  
Read the article

## Written by

[Scottie](https://hashnode.com/@ozalopa965)

@ozalopa965

  
[View profile](https://hashnode.com/@ozalopa965)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
