Day-03 of Kapil’s learning python programming

The things i learned from python are:

1.More i.e. depth in list:

In list i learned about many thing about the proper use of list:

like we can use this in many function i.e. inside the function:

like list(a.range(5,3))

I get to know that list ha…


This content originally appeared on DEV Community and was authored by KAPIL SHAH

The things i learned from python are:

1.More i.e. depth in list:

In list i learned about many thing about the proper use of list:

like we can use this in many function i.e. inside the function:

like list(a.range(5,3))

I get to know that list has many importance in programming language.

2.Set :

The new thing i learned in today’s course is about set .

it also have many use in function basically it is basically use for the mathematical problems

for example:::

set1={1,2,3,4,5}
set2={2,9,8,5,4,3}
print(set1.union(set2))
print(set1.intersection(set2))

In above code we are basically finding union and intersection using set function.

I got this idea from a channel called apnacollege.

Overall we can understand that set is widely used while mathematical problem.

3.Dictionary :

In Dictionary (one the function or “method” i learned about storing a data in a ordered manner.

I had little problem between list and dict. then i got to know that list store data in a single line ,where as dict. stored data in multiple line… :)

for example :

#Dictioanries are used to store data values in key:value pairs 
#They are unordered,mutable(changeable)
info ={
    "key":"value",
    "name":"Apnacollege",
    "learning":"python",
    "subjects" : ["java","c++"],
    "AGE":35,
    "is_adult":True,
    "marks":95.69,
}
print(info)

we can check yourself what the data could be…

i also learned some very basic stuff which i have already shared in my previous day’s Blog

so please go there and check it out

and yes “ I AM BATMAN”

Thank you this much for today


This content originally appeared on DEV Community and was authored by KAPIL SHAH


Print Share Comment Cite Upload Translate Updates
APA

KAPIL SHAH | Sciencx (2025-02-21T14:26:05+00:00) Day-03 of Kapil’s learning python programming. Retrieved from https://www.scien.cx/2025/02/21/day-03-of-kapils-learning-python-programming/

MLA
" » Day-03 of Kapil’s learning python programming." KAPIL SHAH | Sciencx - Friday February 21, 2025, https://www.scien.cx/2025/02/21/day-03-of-kapils-learning-python-programming/
HARVARD
KAPIL SHAH | Sciencx Friday February 21, 2025 » Day-03 of Kapil’s learning python programming., viewed ,<https://www.scien.cx/2025/02/21/day-03-of-kapils-learning-python-programming/>
VANCOUVER
KAPIL SHAH | Sciencx - » Day-03 of Kapil’s learning python programming. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/02/21/day-03-of-kapils-learning-python-programming/
CHICAGO
" » Day-03 of Kapil’s learning python programming." KAPIL SHAH | Sciencx - Accessed . https://www.scien.cx/2025/02/21/day-03-of-kapils-learning-python-programming/
IEEE
" » Day-03 of Kapil’s learning python programming." KAPIL SHAH | Sciencx [Online]. Available: https://www.scien.cx/2025/02/21/day-03-of-kapils-learning-python-programming/. [Accessed: ]
rf:citation
» Day-03 of Kapil’s learning python programming | KAPIL SHAH | Sciencx | https://www.scien.cx/2025/02/21/day-03-of-kapils-learning-python-programming/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.