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