Question: Write a function first Dight (n) which returns the first digit of input Integer a (returns 1 for 123 and 1 for -145) in Python
Write a function first Dight (n) which returns the first digit of input Integer a (returns 1 for 123 and 1 for -145) in Python
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
