How to get first 3 letter of a string in python July 8, 2019 16 32 64 128 Write a python program that accepts a string and calculate the number of digits and letters How to print first digit of a number in python