help with this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

help with this code

what am i doing wrong with this https://code.sololearn.com/c68Dhzr8T2d8

6th Mar 2019, 4:19 PM
Michael Harrall
Michael Harrall - avatar
3 Answers
+ 2
Great! Now all you need to do is print out the returned value. You can be straightforward and write print(cap_first(input_string)), or write it to a variable: cap = cap_first(input_string) print(cap)
6th Mar 2019, 5:56 PM
Nathan Lewis
Nathan Lewis - avatar
+ 2
You misspelled cap_first as cap_frist. Also! When calling a function, be sure to add () to the end -> cap_first(input_string) and replace input_string between them with your own string(:
6th Mar 2019, 4:41 PM
Nathan Lewis
Nathan Lewis - avatar
0
So how about now thank you so much
6th Mar 2019, 5:51 PM
Michael Harrall
Michael Harrall - avatar