5 Most important string questions | String Exercise Hindi | Python Tutorial #23

In this video, we are going to practice five important string questions using python.
Most Important Questions on string:
____________________________________

Q1) WAP to input a string and print the frequency of the characters.
I/O : aabccy
O/P : a:2
b:1
c:2
y:1
________________________________________________________________________

Q2) WAP to input a string and print the character with highest occurrence.

I/O : aabbccyyyy
O/P : y:4
__________________________________________________________________________

Q3) WAP to reverse every word of string in proper manner.
I/O: this is my book
O/P: siht si ym koob
___________________________________________________________________________
Q4) How to remove all duplicates from a given string?
I/O:Javaxx
O/P:Javx

________________________________________________________________________________
Q5) WAP to print all permutation of a String?
I/O:”123″
O/P: “123”, “132”, “213”, “231”, “312” and “321”.

Full Playlist : https://www.youtube.com/playlist?list=PL0zysOflRCel7fKZ_bBjlxA0XsHlbsv7P

Learn Python in One Video in Hindi : https://youtu.be/7GYHAJdHFbE

Learn Core Java Basics : https://youtu.be/9yBlFPKiCdY

Learn Servlet in Hindi: https://www.youtube.com/playlist?list=PL0zysOflRCel5BSXoslpfDawe8FyyOSZb

Learn JDBC Programming : https://www.youtube.com/playlist?list=PL0zysOflRCenjuvOwumYLG9TCsEQZrV2M

Learn c,java,python,kotlin basics : https://www.onlyjavatech.com/

TechSoft INDIA official website: https://www.techsoftindia.co.in/

Durgesh Tiwari Website : https://www.durgeshkumartiwari.com/

Follow me on Instagram: https://www.instagram.com/durgesh_k_t/

Post Author: hatefull