How to print out the first letter of a string in python July 8, 2019 16 32 64 128 How to print first digit of a number in python Write a python program that accepts a string and calculate the number of digits and letters Given a string return a new string where the first and last chars have been exchanged