Programming in Python
Exercises, Practice, Solution
search
Subscribe to:
Comments (Atom)
Python program to create a string from two given strings concatenating uncommon characters of the said strings
PROGRAM : a = input('Enter a string : ') b = input('Enter a string : ') c='' for i in a: if(i not in b):...
-
a = input('Enter a string ') b = a[-3:] if(a[-3:] == 'ing'): b = a +'ly' elif(len(b) <3): print(b) ...
-
a = input('Enter a string ') b = a nc = '' for n in a: c=0 for m in b: if(m is n and c>0): ...
-
list1 = [] list2 = [] b = int(input('enter no of words')) for i in range(b): c = input('enter word : ') list1....