New course! Every coder should learn Generative AI!
Try a free lesson0
help with this code
what am i doing wrong with this https://code.sololearn.com/c68Dhzr8T2d8
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)
+ 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(:
0
So how about now thank you so much