View the step-by-step solution to:

Hi how do check the uppercase in a second word in a string. im trying to test if theres any upper case in a first and second name.

Hi how do check the uppercase in a second word in a string. im trying to test if theres any upper case in a first and second name. I heard i will have to use string split or sentence split but im not sure how to do so. both first and last name should be uppercase and if they are it is deemed valid and the function will return the result as true. if last of first name is lower case it will not be valid. it also have to validate hyphens as longas it is between the first and last name. I just need an example to start it up. code intended for python on pycharm

Top Answer

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask a homework question - tutors are online