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
Baham ko'rish
Baham ko'rish
Baham ko'rish
tomonidan
Karishma58
Tarkibini tahrirlash
Chop etish
qo'shib qo'yish
Ko'proq
Tayinlashlar
Ilg'orlar ro'yxati
Ko'proq ko'rsatish
Kamroq koʻrsatish
Ushbu etakchilar jadvali hozirda xususiy. Uni ommaga etkazish uchun
Ulashish-ni
bosing.
Liderlar ro'yxati resurs egasi tomonidan o'chirib qo'yildi.
Ushbu etakchilar ro'yxati o'chirib qo'yilgan, chunki sizning variantlaringiz resurs egasidan farq qiladi.
Qaytish moslamalari
Tenglashtirish
ochiq-oydin shablon. Etakchilar ro'yxati uchun ballar yaratmaydi.
Tizimga kirish talab qilinadi
Vizual uslub
Shriftlar
Obuna talab etiladi
Moslamalar
Namunani almashtirish
Hammasini koʻrsatish
Faoliyatni o'ynaganingizda ko'proq formatlar paydo bo'ladi.
)
Ochiq natijalar
Bogʻdan nusxa olish
Tez javob kodi
& Olib tashlash
Tahrirlashni davom ettirish:
?