js code input varification code example
Example 1: html create a multi-line text input
<html>
<head>
<title>Textarea Elements</title>
</head>
<body>
<form>
<label for="multiLineInput">
<p>This is an input element that can include new lines:</p>
<textarea rows="5" cols="50" id="multiLineInput"></textarea>
</label>
</form>
</body>
</html>
Example 2: python 3 text file leng
f = open("filename", "r") #Load file in any mode that's able to read, ie r, r+, w+ etc
#to get length
len(f.readlines())
#To iterate over each line
for line in f.readlines(): #file.readlines(), splits the file into a list, where each element is a seperate line
print(line)