Reverse Words in String

  Рет қаралды 18,010

nETSETOS

nETSETOS

Күн бұрын

Reverse Words in String in Python
GitHub Link for Python Code :- github.com/net...
►Click here to subscribe - / @netsetostech
►Python Complete Course For Beginners - • Python for Beginners
►Python Interview Questions - • Python Interview quest...
►Recursion With Python | Data Structures & Algorithms - • Recursion With Python ...
►Understanding of Data Structures & Algos using Python - • Understanding of Data ...
►Learn Django Website on Linux in 1 Video - • Learn Django Website o...
►Deploy Portfolio(Python Django on Heroku) - • Deploy Online Resume (...
►Python Design Patterns - • Python Numerical Pattern
►PYTHON-NUMPY | MACHINE LEARNING - • PYTHON-NUMPY | MACHINE...
►Deploy Website (Django Forms) On Google Cloud - • Deploy Website (Django...
►Python-Django Complete Series - • Learn Django from Scratch
Follow Me On Social Media
►Website (created on Google Cloud) - www.netsetos.org/
►Facebook - www.facebook.c...
►Twitter: / netsetos
►Linkedin: / 14630253
►Quora: www.quora.com/...
For more information, Please write back to us at netsetos@gmail.com
Join Our Whatsapp Group-chat.whatsapp....
#Reverse #Words #Python
~-~~-~~~-~~-~
Please watch: "LRU Cache (With Python Code) "
• LRU Cache Implementati...
~-~~-~~~-~~-~

Пікірлер: 15
@RajuKumar-rx4xf
@RajuKumar-rx4xf 4 жыл бұрын
Using without user defined function programs please .. thank you
@nETSETOStECH
@nETSETOStECH 4 жыл бұрын
Sure, Reversing Using Recursion kzbin.info/www/bejne/bZPJoJ6Ybt-saLM
@nETSETOStECH
@nETSETOStECH 4 жыл бұрын
You can refer this def reverse_words(str_r): n=len(str_r) if(n==1): return str_r str2=str_r.split(" ") size=len(str2) rev_all="" for i in range(size): str2[i] = str2[i][::-1] rev=str2[i] rev_all=rev_all+rev+" " rev_all = rev_all[::-1] d=rev_all return d.strip()
@TecRox-
@TecRox- 3 жыл бұрын
@@nETSETOStECH Why do you make it difficult to be simple program🙄
@arunkumar.c9533
@arunkumar.c9533 2 жыл бұрын
sen = input("enter the sentence").split(" ") reverse_sen = sen[::-1] new_sen=" ".join(reverse_sen) print(new_sen)
@vikinist
@vikinist 4 ай бұрын
L = 'hi i am Amit' a = L.split() a = a[::-1] rev = " ".join(a) print(rev)
@harshikatwinkle5894
@harshikatwinkle5894 2 ай бұрын
def reverse_word(str): h = list(str.split()) h.reverse() for i in h: print(i, end=" ") str1 = "Netsetos is excellent" reverse_word(str1)
@VIGNESHN-c3m
@VIGNESHN-c3m 3 ай бұрын
def reverse_string(s): return " ".join(s.split()[::-1]) s = "the sky is blue" print(reverse_string(s))
@vinayreddy3570
@vinayreddy3570 2 жыл бұрын
s=input() l=s.split() if len(s)==1: print(s) else: for i in l: print(i[::-1],end=" ")
@hardikvegad3508
@hardikvegad3508 3 жыл бұрын
s = "RAM IS A GOOD BOY" print("Original String:",s) val = s.split() z = val[::-1] my_val = ' '.join(z) print("Reversed String:",my_val)
@rameshmalhotra9525
@rameshmalhotra9525 3 жыл бұрын
Can you tell how to add spaces in btw the words
@TecRox-
@TecRox- 3 жыл бұрын
@@rameshmalhotra9525 using join function
@amanuelafework3271
@amanuelafework3271 2 жыл бұрын
Saved me a lot of time thank you! Subscribed
Find Rotated #String | #Python
11:57
nETSETOS
Рет қаралды 10 М.
Python Program To Reverse The Words of String
7:04
ProgramsAndMe
Рет қаралды 7 М.
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 25 МЛН
Reverse Words in a String III - Leetcode 557 - Python
10:18
NeetCodeIO
Рет қаралды 17 М.
Python Tutorial: Sorting Lists, Tuples, and Objects
12:07
Corey Schafer
Рет қаралды 274 М.
f-Strings in Python | Python Tutorials for Beginners #lec22
9:47
Jenny's Lectures CS IT
Рет қаралды 99 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 310 М.
REVERSE WORDS IN A STRING | LEETCODE 151 | PYTHON SOLUTION
8:21
Cracking FAANG
Рет қаралды 7 М.
Python  || Q4.  Write a Program To REVERSE order of words present in the given string
11:20
Modern Python logging
21:32
mCoding
Рет қаралды 189 М.
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН