🔥 Welcome to my blog! Latest updates available now. Visit daily! 🔥 🔥 Click Here for Latest Updates – Visit My Blog 🔥
🔥 Latest Updates 📊 GP Grade Finder 📢 Government Services Info 🆕 New Schemes Updates

set Data Type in Python

If we want to represent a group of values without duplicates where order is not important, then we should go for set Data Type.


1. insertion order is not preserved

2. duplicates are not allowed

3. heterogeneous objects are allowed

4. index concept is not applicable

5. It is mutable collection

6. Growable in nature

Example:

1) s=(100,0,10,200,10,'siddu')# (0, 100, 'siddu', 200, 10)


s[0]=>TypeError: 'set' object does not support indexing.

set is growable in nature, based on our requirement we can increase or decrease the size.


>>>s.add(60)

>>>s#(0, 100, 'siddu', 200, 10, 60)

>>> s.remove(100)

>>> s#(0, 'siddu', 200, 10, 60)

frozenset Data Type in Python

It is exactly same as set except that it is immutable. 

Hence we cannot use add or remove functions.


>>> s=(10,20,30,40)

>>> fs-frozenset(s)

>>> type(fs)

<class 'frozenset'> 5) >>> fs

frozenset((40, 10, 20, 30))

>>> for i in fs:print(i)

40 10 20 30

>>> fs.add(70)

AttributeError: 'frozenset' object has no attribute 'add' 

>>> fs.remove(10)

AttributeError: 'frozenset' object has no attribute 'remove'


dict Data Type In Python

 If we want to represent a group of values as key-value pairs then we should go for dict data type.


Example:

d=(101:'siddu',102:'ravi',103:'chiru')


Duplicate keys are not allowed but values can be duplicated.


If we are trying to insert an entry with duplicate key then old value will be replaced with new value.


Example:

>>> d=(101:'siddu',102:'ravi", 103:"chiru"}

>>> d[101]='lakshmi'

>>> d

(101: 'lakshmi', 102: 'ravi', 103: 'chiru')


We can create empty dictionary as follows d=()

We can add key-value pairs as follows d['a']='apple'

d['b']='banana'

print(d)


Note: dict is mutable and the order wont be preserved.

Domain Areas For Research

1) Artificial Intelligence 

2) Artificial Intelligence Machine Learning 

3) Artificial Intelligence Data Science 

4) Data Science 

5) Internet of Things

6) Cyber Security 

7) Block Chain 

8) Deep Learning 

9) Machine Learning 

10) Computer Networks

11) Network Security 

12) Data Mining 

13) Cloud Computing 

Future of AI

The future of AI promises advancements in various fields, including:

  1. General AI:
    • Development of AI systems with the ability to perform any intellectual task that a human can do.
  2. AI in Education:
    • Personalized learning experiences and automated administrative tasks.
  3. AI in Climate Science:
    • Analyzing climate data to predict and mitigate the effects of climate change.
  4. AI in Space Exploration:
    • Autonomous systems for exploring and colonizing other planets.

It is Good Government

 Sir/madam

Module is developed in AP seva portal to capture secretariat wise no of houses visited daily by the teams..

at the end of every day after completion of the campaign the PS should enter the data in the module.

à°†ంà°§్à°°à°ª్à°°à°¦ేà°¶్‌à°²ో సదరం సర్à°Ÿిà°«ిà°•ేà°Ÿ్ à°•ోà°¸ం à°Žà°¦ుà°°ుà°šూà°¸్à°¤ుà°¨్à°¨ à°¦ిà°µ్à°¯ాంà°—ులకు à°¸్à°²ాà°Ÿ్ à°¬ుà°•ింà°—్ à°…à°ª్‌à°¡ేà°Ÿ్.

à°‡ంతకుà°®ుంà°¦ు వరకు SADAREM Slot Booking à°ª్à°°à°•్à°°ిà°¯ à°¸్వర్à°£ à°—్à°°ాà°®ం à°¸్వర్à°£ à°µాà°°్à°¡ు à°¦్à°µాà°°ా à°®ాà°¤్à°°à°®ే à°…ంà°¦ుà°¬ాà°Ÿుà°²ో à°‰ంà°¡ేà°¦ి. à°ª్à°°à°¸్à°¤ుà°¤ం à°ª్రజలకు మరింà°¤ à°¸ౌà°•à°°్యవం...