Skip to content

my-courses.net

Python Courses & Exercises

Facebook Twitter Google Plus Linkedin Instagram YouTube Pinterest Tumblr VK Email RSS
  • Home
  • Python Courses
  • Python Exercises
  • Computer Glossary
  • Register

Solution Exercise 73: python algorithm that remove all vowels from a given string

April 21, 2023Younes DerfoufiPython-Exercises1 Comment

Exercise 73 Write a python function that takes a string 's' as parameter and which delete all vowels from the string 's'. Example: if s = "Python is hight level programming language", the algorithm returns the string: "Pthn s hght lvl prgrmmng lngg"

Solution Exercise 72 : python algorithm to examin if a substring is present within a given string

April 20, 2023April 20, 2023Younes DerfoufiPython-Exercises1 Comment

Exercise 72 Write a python function which examine if a particular substring occurs within a given string.

Solution Exercise 71: python program to find the minimum digits within a given string

April 19, 2023April 19, 2023Younes DerfoufiPython-Exercises1 Comment

Exercise 71 ** Write a Python algorithm that takes a string 's' as input and which determines the minimum digit within the string s. Example: if s = "Python3.7 is more power than Python2.7" , the algorithm must returns 2. We assume that the string s does not contain any negative number.

Solution Exercise 70: Python program that extracts all words from a given string s whose length is less than to 4

April 18, 2023April 18, 2023Younes DerfoufiPython-Exercises1 Comment

Exercise 70 Write a python program as function which extract from a given string s , the list of all words whose len is less than or equal to 4. Example: if s = "The Python programming language is open source and very easy to learn" , the program must returns the list: L =…

Solution Exercise 69: Python function that checks if a given string s is a duplicated string

April 18, 2023Younes DerfoufiPython-Exercises1 Comment

Exercise 69 Write a Python program which takes a string 's' as input and which returns True if the string is duplicated and False otherwise. Example: if s = "HelloHello", the function must returns True.

Solution Exercise 68: python algorithm to compute the numer of shared characters in two strings

April 18, 2023April 18, 2023Younes DerfoufiPython-Exercises1 Comment

Exercise 68 Write a python program as function which takes a tuple of string (s1 , s2) and return the number of common characters in s1 and s2. Example: if s = "Hello" and s2 = "World", the shared characters are 'l' and 'o', then the algorithm returns 2.

Solution Exercise 67: python algorithm to check if a given string start with an other string

April 17, 2023Younes DerfoufiPython-Exercises1 Comment

Exercise 67 Write a Python program as function that checks whether a given string 's' starts with another string 's1', without using the built-in startswith() method.

Posts navigation

Page 1 Page 2 … Page 362 Next

Search

Recent Posts

  • Solution Exercise 73: python algorithm that remove all vowels from a given string
  • Solution Exercise 72 : python algorithm to examin if a substring is present within a given string
  • Solution Exercise 71: python program to find the minimum digits within a given string
  • Solution Exercise 70: Python program that extracts all words from a given string s whose length is less than to 4
  • Solution Exercise 69: Python function that checks if a given string s is a duplicated string

Facebook Group

UserOnline

1 User Online

Log In

12 − three =

  • Register
  • Lost your password?
© 2023 my-courses.net | Wordpress_Theme: Blogghiamo by CrestaProject.          CopyrightFrance.com