Untitled

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