---
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:"
url: "https://hashnode.com/posts/step-by-step-string-reversal-mwcwfrzn/6af51d525a7a41c0b9685683"
---

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

Discussion

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

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

1d ago · 1 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.
