+ 2
Program to print the last 10 characters in a string
This Is for creating a program that takes a phone number as input and outputs the number without the â+91 â extension (FOR INDIAN NUMBERS)
1 Answer
+ 5
Yusuf Hashmi
Here it is.
num = '+911234567890'
len = len(num)
print(num[len - 10::])
But you should try self.