Tuesday, 21 September 2021

python: string programs

      Python: Check whether string contain only whitespaces or not
      Python: count number of whitespace characters in a string
      Python: Convert upper to lower, lower to uppercase
      Python: Count number of uppercase characters in a string
      Python: Count number of lowercase characters in a string
      Python: Count number of digits in a string
      Python: Count number of digits, lowercase, uppercase characters in a string
      Python: Convert a number to binary string
      Python: Convert first letter of each word to upper case
      Python: Print character one at a time in string
      Python: Convert image to base64 string
      Python: Convert string to list of characters
      Python: splitlines: get list of lines in the string
      Python: Count number of vowels and consonants in a string
      Python: Remove multiple spaces in a string
      Python: concatenate string and integer
      Python: Convert string to integer

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment