Skip to content

toddreichert1/python-string-substitution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-string-substitution

Python string substitution programming exercise

Write a program in any programming language to do the following:

  1. Replace all the vowels in the string “National Center for Supercomputers Applications” by their corresponding order number in alphabetical sequence (a with 1, e with 5, etc).
  2. Print the resulting string.
  3. Print the total number of consonants in the given string.

About

Python string substitution interview programming exercise

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published