InterviewSolution
Saved Bookmarks
| 1. |
Write a python function to get a string made of its first three characters of a specified string. If the length of the string is less than 3, then return the original string. Sample function and result:first_three('ipy') ->ipyfirst_three('python') ->pyt |
| Answer» PYTHON. Here we created a variable and assigned it a string value. Note the variable name GREETING . It was CHOSEN to .K | |