subject

Python Si scriva una funzione verifica_sequenza che riceve una lista L di interi e un intero k e restituisce True se e solo se la
lista contiene k elementi consecutivi la cui somma è pari a zero.
Esempio: Se L = [6, 1,-5,3,1,-5, -1,9] e k= 4, allora verifica_sequenza(L, k) restituisce True perché L contiene 4 elementi
consecutivi (1,5, 3 e 1) la cui somma è pari a zero.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 18:50, ana7496
What is transmission control protocol/internet protocol (tcp/ip)? software that prevents direct communication between a sending and receiving computer and is used to monitor packets for security reasons a standard that specifies the format of data as well as the rules to be followed during transmission a simple network protocol that allows the transfer of files between two computers on the internet a standard internet protocol that provides the technical foundation for the public internet as well as for large numbers of private networks
Answers: 2
image
Computers and Technology, 24.06.2019 00:30, petergriffin6772
Which boolean operator enables you to exclude a search term? a} not b} and c} or d} plus
Answers: 1
image
Computers and Technology, 24.06.2019 12:10, breezer20042
What is it called during the editing process when the processor ensures that a character holding a coffee mug from one angle is holding the same mug in the same way when the shot switches to another camera at another angle? cinematography continuity technology prop use
Answers: 1
image
Computers and Technology, 24.06.2019 13:00, juuuuuu42
George heard about the benefits of a data warehouse. he wants to try implementing one for his organization. however, he is afraid that transferring data to the data warehouse will affect transaction time. which element ensures that transactions are not affected when moving data to a warehouse? when data is transferred to a data warehouse, the a area frees the source system to continue transaction processing.
Answers: 2
You know the right answer?
Python Si scriva una funzione verifica_sequenza che riceve una lista L di interi e un intero k e re...

Questions in other subjects:

Konu
Biology, 01.04.2020 02:32