??:
???
?? ?????.
???? ???? ???(?? ??? ??)? ?????.
??? index_based???
??? ?? ??(?? ??)
?:
student_data = ['Pritha', 'B.E', 30, True, 5.6] print(student_data)
['Pritha', 'B.E', 30, True, 5.6]
while ?? ?? ?:
student_data = ['Pritha', 'B.E', 30, True, 5.6] i = 0 while i<len(student_data): print(student_data[i],end=' ') i+=1
Pritha B.E 30 True 5.6
for ??? ??? ?:
student_data = ['Pritha', 'B.E', 30, True, 5.6] for data in student_data: print(data, end=" ")
Pritha B.E 30 True 5.6
??():
???? ???? ????? ?????.
??? ? ?? ???? ?????.
student_data = ['Pritha', 'B.E', 30, True, 5.6] index = 0 for index,data in enumerate(student_data): print(index, data) index+=1
0 Pritha 1 B.E 2 30 3 True 4 5.6
??? ?? ????? ??? ?? ??? ????? ? ????.
student_data = ['Pritha', 'B.E', 30, True, 5.6] print(student_data) student_data[1] = 'M.E' print(student_data)
['Pritha', 'B.E', 30, True, 5.6] ['Pritha', 'M.E', 30, True, 5.6]
??():
?? ?? ??? ???? ? ?????.
??? ? ???? ???? ? ??? ???? ????.
append()? ???? ?? ???:
employee = [] employee.append('Raja') employee.append('Madurai') employee.append('B.Sc.,') employee.append(5.2) employee.append(True) print(employee)
['Raja', 'Madurai', 'B.Sc.,', 5.2, True]
??():
??? ?? ??? ??? ??? ? ?????.
employee = ['Raja', 'Madurai', 'B.Sc.,', 5.2, True] employee.insert(2, 'Tamil Nadu') print(employee)
['Raja', 'Madurai', 'Tamil Nadu', 'B.Sc.,', 5.2, True]
??():
???? ?? ??? ?? ???? ?? ???? ? ?????.
??? ???? ???? ??? ?????.
??? ??? ??? ValueError? ?????.
employee = ['Raja', 'Madurai', 'B.Sc', 5.2, True] employee.remove('Madurai') print(employee)
['Raja', 'B.Sc', 5.2, True]
?():
??? ?? ???? ?? ??? ???? ???? ? ?????.
employee = ['Raja', 'Madurai', 'B.Sc', 5.2, True] employee.pop(3) print(employee)
['Raja', 'Madurai', 'B.Sc', True]
del ?:
???? ????? ??? ???? ? ?????.
?? ???? ????. ??? ????? ???? ??? ?????.
l = [10,20,30,40,50,60] del l[2] print(l)
[10, 20, 40, 50, 60]
del? ???? ??? ???? ???? ??? ??? ? ????.
l = [10,20,30,40,50,60] del l[2:4] print(l)
[10, 20, 50, 60]
pop()? del? ???:
l = [10,20,30,40,50,60] del l[:] print(l) l = [10,20,30,40,50,60] print(l.pop())
[] 60
del[:]- ???? ?? ?? ?????
pop()- ???? ??? ??? ?????.
??? ???? ???? ????? ?????.
marks_list = [90,97,97,65,78] total = 0 l=len(marks_list) for mark in marks_list: total+=mark print(total) percentage=total/l print("percentage:",percentage)
427 percentage: 85.4
??? ???? ?? ?? ??? ?? ????? ?????.
highest = 0 marks_list = [90,97,96,65,98] for mark in marks_list: if mark>highest: highest = mark #90 97 print(highest)
98
??? ???? ?? ?? ??? ?? ????? ?????.
lowest = 100 marks_list = [90,97,96,65,98] for mark in marks_list: if mark<lowest: lowest = mark print(lowest)
65
scores = [90,167, 208,45,32] lowest = scores[0] for score in scores: if score<lowest: lowest = score print(lowest)
32
isinstance()-??? ??? ??? ?? ?? ?? ???? ?????? ???? ? ?????.
??? ??? ???? ??? ???? True? ????, ??? ??? False? ?????.
str ??? ??? ?? ????? ?????.
student_data = ['Pritha', 'B.E', 30, True, 5.6] print(student_data)
['Pritha', 'B.E', 30, True, 5.6]
str ??? ??? ?? ??? ??? ????? ?????.
student_data = ['Pritha', 'B.E', 30, True, 5.6] i = 0 while i<len(student_data): print(student_data[i],end=' ') i+=1
Pritha B.E 30 True 5.6
str ??? ??? ?? ?? ? ??? ?? ??? ??? ????? ?????.
student_data = ['Pritha', 'B.E', 30, True, 5.6] for data in student_data: print(data, end=" ")
Pritha B.E 30 True 5.6
??:
1) n? ????? --> ??
2) ??? 5?????
3) t --> ???
?? ????.
student_data = ['Pritha', 'B.E', 30, True, 5.6] index = 0 for index,data in enumerate(student_data): print(index, data) index+=1
0 Pritha 1 B.E 2 30 3 True 4 5.6
# SaChin DhOnI rOhIt vIrAt
student_data = ['Pritha', 'B.E', 30, True, 5.6] print(student_data) student_data[1] = 'M.E' print(student_data)
['Pritha', 'B.E', 30, True, 5.6] ['Pritha', 'M.E', 30, True, 5.6]
? ??? ? - ?? ? ?? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











Python? Unittest ? Pytest? ??? ? ???? ??, ?? ? ??? ????? ? ?? ?? ???? ??? ??? ?????. 1. ??? ??? ?? ??? ???? ??? ??? ??? ?????. UnitTest? ??? ??? ???? ???? Test \ _? ???? ???? ?????. Pytest? ? ?????. Test \ _?? ???? ?? ? ??????. 2. ??? ?? ?? ? ?? ? ??? ??? ????. UnitTest? Assertequal, AssertTrue ? ?? ??? ???? ?? Pytest? ??? Assert ?? ???? ?? ?? ??? ???? ?????. 3. ?? ??? ?? ? ?? ????? ????? ????.

pythonisidealfordataanalysisduetonumpyandpandas.1) numpyexcelsatnumericalcomputationsfast, multi-dimensionalArraysandectorizedOferationsLikenp.sqrt ()

?? ????? (DP)? ??? ??? ? ??? ?? ??? ??? ??? ? ??? ??? ?? ??? ???? ??? ????? ??????. ? ?? ?? ??? ????. 1. ??? (??) : ??? ?? ??? ???? ??? ???? ?? ??? ??????. 2. ??? (?) : ?? ???? ???? ????? ?????. ???? ???, ?? ?? ?? ?? ??/?? ?, ??? ??? ?? ?? ?? ??? ??? ????? ?????. ?????? ????? ?? ???? ?? ??? ? ???, ?? ??? ???? ?? ?? ??? ???? ??? ???? ????? ???? ???????.

??? ?? ???? ????? ????? __iter_ ? __next__ ???? ???????. ① __iter__ ???? ??? ? ?? ??? ???? ??? ?? ?? ??? ?????. ② __next__ ???? ? ??? ?? ????, ?? ??? ??? ????, ? ?? ??? ??? stopiteration ??? ??????. status ??? ???? ??????? ?? ??? ??? ?? ?? ??? ???????. pile ?? ?? ???? ?? ??? ?? ? ??? ?? ? ??? ?????? ?????. simple ??? ??? ?? ?? ??? ?? ???? ???? ?? ??? ? ??? ?? ????? ???? ??? ??? ???????.

Python? ?? ???? ?? ???, ?? ?? ????, ?? ???? ?? ? AI/ML ??? ???? ??? ?????. ??, Cpython? ???? ????? ?? ??, ?? ?? ??? ? ?? ? ?? ??? ?? ??? ??????. ??, ??? ????? ?? ?? ? ?? ??? ????? ?? ?? ? ? ??? ?? ?????. ??, Pyscript ? Nuitka? ?? ?? ???? ??? ??? ?? ??? ?????. ?????, AI ? ??? ?? ??? ?? ???? ??? ?? ???????? ???? ?? ? ??? ?????. ??? ??? Python? ??? ??? ????? ???? ?? ??? ???? ??? ?????.

Python? ?? ??? ???? ?????? ????, ????? ? ?? ??????? ???? ? ??? ??? ???? ?? ??? ?????. ?? TCP ??? ????? Socket.Socket ()? ???? ??? ??? ?? ? ??? ????? .listen ()? ???? ??? ?? .accept ()? ?? ????? ??? ???????. TCP ?????? ????? ?? ??? ??? ??? ????? .connect ()? ?? ? ?? .sendall ()? ???? ???? ??? .recv ()? ?? ??? ??????. ?? ?????? ????? 1. ??? : ??? ??? ? ???? ??? ? ????. 2. ??? I/O : ?? ??, Asyncio ?????? ? ??? ??? ?? ? ? ????. ???? ? ?

???? Python ?? ?? ?????? ?? ????, "??? ?????, ?? ??"? ???? ??? ??? ??? ?? ??? ?????. 1. ???? ?? ? ??? ?? ?????. ?? ???? ?? ??? ???? ??? ? ? ????. ?? ??, Spoke () ?? ???? ??? ??? ?? ??? ?? ????? ?? ??? ??? ????. 2. ???? ?? ???? ??? ??? ?????? Draw () ???? ???? ????? ?? ???? ?? ??? ???? ??? ???? ?? ?? ?? ??? ????? ?? ?? ????? ?? ?????. 3. Python ?? ???? ???????. ?? ???? ??? ???? ?? ???? ??? ????? ??? ?? ???? ??? ???? ????. ??? ??? ??? ???? ? ??? "?? ??"??????. 4. ???? ? ???? ?? ??? ?????

Python List ????? ?? ?? ??? [Start : End : Step] ??? ????? ??? ???? ????. 1. ?? ????? ?? ??? ?? [start : end : step]???. ??? ?? ??? (??), ?? ? ??? (???? ??)?? ??? ?? ?????. 2. ????? ???? 0?? ????? ???? ????? ??? ??? ???? ????? ??? 1? ??????. 3. my_list [: n]? ???? ? ?? n ??? ?? my_list [-n :]? ???? ??? n ??? ????. 4. My_List [:: 2]? ?? ??? ?? ?? ??? ???? ??? ??? ?? ?? ?? ??? ???? ? ????. 5. ???? ???? ? ???? ???? ????
