PROGRAMMING:Calculates the longest string length of N strings
Write a program to calculate the length of the longest string among n (1 < n < 10) strings. Don't count leading spaces!
###Input format:
Enter n in the first line and a string in each of the following lines
###Output format:
Output the length of the longest string on a line
###Input example:
Here is a set of inputs. For example:
```in
four
blue
yellow
red
green
```
###Output example:
The corresponding output is given here. For example:
```out
length=6
```
answer:If there is no answer, please comment
```
n=int(input())
l=max([len(input().strip()) for i in range(n)])
print("length=%d"%l)
```
###Input format:
Enter n in the first line and a string in each of the following lines
###Output format:
Output the length of the longest string on a line
###Input example:
Here is a set of inputs. For example:
```in
four
blue
yellow
red
green
```
###Output example:
The corresponding output is given here. For example:
```out
length=6
```
answer:If there is no answer, please comment
```
n=int(input())
l=max([len(input().strip()) for i in range(n)])
print("length=%d"%l)
```