Answer:
Explanation:
iname=input("Enter the file name: ")
inputfile=open(iname,'r')
lines=[]
for line in inputfile:
lines.append(line)
inputfile.close()
print("The file has ",len(lines)," lines")
while True:
linenumber=int(input("Enter the line number or 0 to quit: "))
if linenumber==0:
break
elif linenumber > len(lines):
print("Error: line number must be less than ", len(lines))
else:
print(linenumber, " : ", lines[linenumber - 1])
An literation :))!! i hope u get it right lol
Answer:
A constructor doesn't have a return type.
The name of the constructor must be the same as the name of the class.
Unlike methods, constructors are not considered to be members of a class.
A constructor is called when a new instance of an object is created.
Explanation:
Well its really both in a way but the answer is A) True
Reasons why the height of a VHF radio antenna is important is because VHF radios work by the line of sight principle.
Line of sight its a line from observers eye to a distant point.its a line between two points specifically the straight path between a transmitting antenna (as for radio or television signals) and receiving antenna when unobstructed by the horizon.