TUPLE, An ordered sequence of elements of different datatypes. , INDEXING, accessing elements in a tuple e.g. tuple_name[index no], SLICING, tuple_name[start: stop: step], CREATE A TUPLE WITH SINGLE ELEMENT, Element should be followed by a comma ( element ,), TUPLE NATURE, It is immutable which means it cannot be changed in place after it has been created., TYPE ERROR, tuple[2] =15, CONCATENATION, Tuples can be joined using + symbol, REPETITION, We can repeat the tuple elements using *. , EXTENSION OF A TUPLE, tuple+=(value,), count(), Returns the number of times the given element is present in the tuple, REVERSE OF A TUPLE, tuple_name[ : :-1], sorted(), Takes the element of a tuple and returns a new sorted list., PACKING, s_name= (admno,sname,class,marks), UNPACKING, prin,rate,time = simple_interest, SWAPPING OF 2 NUMBERS, a,b = b,a.
0%
OPERATORS IN PYTHON
Compartilhar
Compartilhar
Compartilhar
de
Karishma58
Editar conteúdo
Imprimir
Incorporar
Mais
Atribuições
Ranking
Mostrar mais
Mostrar menos
Atualmente, este ranking é particular. Clique em
Compartilhar
para torná-lo público.
Este ranking foi desativado pelo proprietário do recurso.
Este ranking está desativado, pois suas opções e as do proprietário do recurso são diferentes.
Reverter opções
Associação
é um modelo aberto. Ele não gera pontuações para um ranking.
Login necessário
Estilo visual
Fontes
Assinatura necessária
Opções
Alterar modelo
Mostrar todos
Mais formatos serão exibidos à medida que você executar a atividade.
)
Resultados em aberto
Copiar link
Código QR
Excluir
Restaurar arquivo salvo automaticamente:
?