#Given string whose length is to be found
str1=(input("Enter a String : "))
print(str1)
#calling our len() method to calculate
#the length of str1
print("Length =",len(str1))
0 Comments:
Subscribe to:
Post Comments (Atom)
#Given string whose length is to be found
str1=(input("Enter a String : "))
print(str1)
#calling our len() method to calculate
#the length of str1
print("Length =",len(str1))
s = str(input("Enter a String which are duplicates Words \n ")) l = s.split() k = [] for i in l: # If condition is used ...