decorators

This commit is contained in:
Hizenberg469
2025-03-19 15:46:10 +05:30
parent 98558bab53
commit 00197cf3c5
5 changed files with 628 additions and 12 deletions

View File

@@ -87,6 +87,16 @@
list are mutable but tuple are immutable
-> set:
set is a unordered collection of unique objects.
for ex:
my_set = { 1,2,3,4,5,5 }
my_set.add(100)
my_set.add(2)
print(my_set)
-> using keyword and using methods:
using keyword to access anything which may not exist