►
Run
name = 'apple' lastChar = name[len(name) - 1] print(f'Last Character : {lastChar}')
Output