Python program to print unique characters in a String | Python coding in Hindi

preview_player
Показать описание
Python program to print unique characters in a String in Hindi
Python program to print unique characters in a String

0:00 Intro
0:25 Problem description
3:10 Method 1 - Python code to print unique characters in a String using dictionary
11:32 Method 1 - Python code to print unique characters in a String using sorting
16:37 Dry run of the python code using method 2
23:07 Testing the python codes for both the methods

My video on Java program to print unique characters in a String (in English):

Example 1:
Input:
s = "cricketer"
Output:
c r i k e t

Example 2:
Input:
s = "Programming"
Output:
P r o g a m i n

The video approaches the solution in two different methods
- method 1 uses python dictionaries to find unique characters and prints the output in original order of appearance
- method 2 uses sorting to find unique characters and prints the output in sorted order

Python practice program for beginners.
Python practice program in strings.
Python practice program in sorting.
Python practice program in lists.

Python practice program for CBSE class 11 & class 12 computer science students in Hindi.
Python tutorial in Hindi for CBSE class XI & class XII computer science students.

#pythonprogramming #pythonforbeginners #pythoninhindi #python #pythoncoding #pythonprograms
Рекомендации по теме
visit shbcf.ru