Αποτελέσματα Αναζήτησης
You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} superpeanut2k6 / codehs-python Public. forked from Kendrickismidd/Codehs. Notifications You must be signed in to change notification settings;
We read every piece of feedback, and take your input very seriously.
Write the function called end_of_word that takes a string and returns everything but the first character. end_of_word ("boat") # => "oat". end_of_word ("mice") # => "ice". Reply.
could someone help me on this? i'm pretty sure you use string splitting to solve this but i'm not sure how.
Exercise 7.2.6: If You're Not First, You're Last. Write the function called end_of_word that takes a string and returns everything but the first character. end_of_word("boat") = "oat" end_of_word("mice") = "ice
11 Ιαν 2021 · The end_of_word function takes a string and returns everything but the first character. To implement this function, we can use the slicing operator in Python. Here's the code for the end_of_word function: ```python def end_of_word(word): return word[1:] ``` In this function, the slicing operator `word[1:]` returns the substring of `word ...
3 Φεβ 2021 · In If You’re Not First, You’re Last, international sales expert Grant Cardone explains how to sell your products and services – despite the economy – and provides you with ways to capitalize regardless of your product, service, or idea.