Untitled

 avatar
unknown
python
2 years ago
117 B
4
Indexable
def lastChar(a = input("")):
    if len(a) > 0:
        lastChar = a[len(a)-1]
        print(lastChar)
lastChar()
Editor is loading...