Untitled

mail@pastecode.io avatar
unknown
python
a year ago
117 B
1
Indexable
Never
def lastChar(a = input("")):
    if len(a) > 0:
        lastChar = a[len(a)-1]
        print(lastChar)
lastChar()