#Given string whose length is to be found
str1="Python is great!"
print("The given String is:",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="Python is great!"
print("The given String is:",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 ...