- [Instructor] In this self check exercise,
we'd simply like you to try out the capitalize
and title methods from the preceding video,
this time on the string happy new year.
So go ahead and pause the video to give that a shot,
then come back for the answer.
Okay, let's just go ahead
and demonstrate these two methods here.
So if I want, I'll just go and execute all three statements.
So we define the string, then we capitalize it,
resulting in jus the capital first letter
and then we title case it, in which case
every word is capitalized.