search
Subscribe to:
Post 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):...
-
list1 = [] list2 = [] b = int(input('enter no of words')) for i in range(b): c = input('enter word : ') list1....
-
a = input('Enter a string ') b='' i=0 for i in range(len(a)): if(i%2==0): b = b+a[i] print(b)
-
a = input('Enter a string ') b=a c=d=0 c = a.find('not') d = a.find('poor') print(c,d) if(c>=0 and d>=0...
No comments:
Post a Comment