Reverse String in Python in just 2 lines ! #shorts

preview_player
Показать описание
Showing you how to reverse a string in Python just in 2 lines of code !

#shorts #python #coding
Рекомендации по теме
Комментарии
Автор

Explanation: this is basic string cutting.
Syntax is "string"[a:b:step]
A and B are skipped in this case and defaulted to start and end of string.
Step is -1 - which means string is read backwards

temmie
Автор

ano po maganda gamitin na apps para sa Android phone ?

roseelaineambat
Автор

Damn Python makes things much less complex and easier

MezbahRijvee
Автор

I can reverse in one line in c++ but without the initialization.

classsix
Автор

Bruh. Who doesn't know that. That's so basic.

idoredid
Автор

If you want in single line 😁
Print("!dlrow olleH")

Danisoftwaretech
join shbcf.ru