The best answer would have to be technical it is impoortant that a person in telecommunuication refures to communication
Answer:
In Python:
def sumLastPart(n,thelist):
sumlast = 0
lent = len(thelist)
lastN = lent - n
for i in range(lastN,lent):
sumlast+=thelist[i]
return sumlast
Explanation:
This defines the function
def sumLastPart(n,thelist):
This initializes the sum to 0
sumlast = 0
This calculates the length of the list
lent = len(thelist)
This calculates the index of the last n digit
lastN = lent - n
This iterates through the list and adds up the last N digits
<em> for i in range(lastN,lent):</em>
<em> sumlast+=thelist[i]</em>
This returns the calculated sum
return sumlast
Answer:
The very first command contains an error.
Explanation:
The create query is used to create the table in the database. The syntax of the create query is :
create table tablename(column1 datatype,column2 datatype ........columnn datatype);
So there is a keyword table is missing in the given query.
so it is incorrect query.
INSERT INTO vehicletype VALUES (1,"truck","Ford",2000); This query is correct.
SELECT * FROM vehicletype; This query is also correct.
Answer:
Foxy
Explanation:
Cause he's cool and he's my favorite.