Тёмный
No video :(

.join() method in python | Lec-20 

MANISH KUMAR
Подписаться 21 тыс.
Просмотров 1,4 тыс.
50% 1

In this video, I have talked about the fundamentals of programming and Python. If you complete this, you will be well-versed in using tuples for different use cases.
Directly connect with me at:- topmate.io/man...
Q1. Secure the PII data.
Input = ["mverma6250@gmail.com","ramesh02@hotmail.com",
"sohansingh@gmail.com","swatirahane@outlook.com"]
Input = ["m********0@gmail.com","r******2@hotmail.com",
"s********h@gmail.com","s*********e@outlook.com"]
Q2. Print the list of all unique ip addresses?
Input:-
["/region//us-east-a/north/resource/vminsatnce/subsid/ae-456-df/server/10.168.155.2",
"/region//us-east-b/north/resource/vminsatnce/subsid/ae-456-df/server/10.168.156.2",
"/region//us-east-c/north/resource/vminsatnce/subsid/ae-456-df/server/10.168.151.2",
"/region/japan/north/resource/vminsatnce/subsid/ae-456-df/server/10.168.155.22",
"/region/india/north/resource/vminsatnce/subsid/ae-456-df/server/10.168.167.2",
"/region//us-east-a/north/resource/vminsatnce/subsid/ae-456-df/server/10.168.179.28",
"/region//us-east-b/north/resource/vminsatnce/subsid/ae-456-df/server/10.168.155.31",
"/region//us-east-c/north/resource/vminsatnce/subsid/ae-456-df/server/10.168.151.2"
]
Output:- ["10.168.155.2","10.168.156.2","10.168.151.2"
"10.168.155.22","10.168.167.2",
"10.168.179.28","10.168.155.31" ]
Discord channel:- / discord
For more queries reach out to me on my below social media handle.
Follow me on LinkedIn:- / manish-kumar-373b86176
Follow Me On Instagram:- / competitive_gyan1
Follow me on Facebook:- / manish12340
My Second Channel -- / @competitivegyan1
Interview series Playlist:- • Interview Questions an...
My Gear:-
Rode Mic:-- amzn.to/3RekC7a
Boya M1 Mic-- amzn.to/3uW0nnn
Wireless Mic:-- amzn.to/3TqLRhE
Tripod1 -- amzn.to/4avjyF4
Tripod2:-- amzn.to/46Y3QPu
camera1:-- amzn.to/3GIQlsE
camera2:-- amzn.to/46X190P
Pentab (Medium size):-- amzn.to/3RgMszQ (Recommended)
Pentab (Small size):-- amzn.to/3RpmIS0
Mobile:-- amzn.to/47Y8oa4 ( Aapko ye bilkul nahi lena hai)
Laptop -- amzn.to/3Ns5Okj
Mouse+keyboard combo -- amzn.to/3Ro6GYl
21-inch Monitor-- amzn.to/3TvCE7E
27-inch Monitor-- amzn.to/47QzXlA
iPad Pencil:-- amzn.to/4aiJxiG
iPad 9th Generation:-- amzn.to/470I11X
Boom Arm/Swing Arm:-- amzn.to/48eH2we
My PC Components:-
intel i7 Processor:-- amzn.to/47Svdfe
G.Skill RAM:-- amzn.to/47VFffI
Samsung SSD:-- amzn.to/3uVSE8W
WD Blue HDD:-- amzn.to/47Y91QY
RTX 3060Ti Graphic card:- amzn.to/3tdLDjn
Gigabyte Motherboard:-- amzn.to/3RFUTGl
O11 Dynamic Cabinet:-- amzn.to/4avkgSK
Liquid cooler:-- amzn.to/472S8mS
Antec Prizm FAN:-- amzn.to/48ey4Pj

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 18   
@AnuragRaut-ry2oq
@AnuragRaut-ry2oq 2 месяца назад
Sol 2: ip = [] for i in input: parts = i.split('/') ip_address = parts[-1] ip.append(ip_address) print(ip)
@pravinnadar3275
@pravinnadar3275 3 месяца назад
Q1: Without any inbuilt function result_email = [] for i in email: temp = i[0] for x in range(1,len(i)): if i[x+1] == '@': temp += i[x:] result_email.append(temp) break else: temp += "*" print(result_email)
@home5871
@home5871 4 месяца назад
Bhaiyya teach and guide us python only needed for data engineering plzzz
@MukeshKumarBehera-cb1pv
@MukeshKumarBehera-cb1pv 4 месяца назад
Q2. Solution s1=set() pattern=r'\b(?:\d{1,3}\.){3}\d{1,3}\b' for ch in l1: filtered=re.findall(pattern,ch) s1.update(filtered) print(list(s1))
@manishagarwal6780
@manishagarwal6780 4 месяца назад
Q1 soln: sec_data=[] for mail in piid: last_index=mail.index('@') replacement_str='*' * last_index mail=mail.replace(mail[1:last_index-1],replacement_str,1) sec_data.append(mail) print(sec_data)
@ShekharBhide
@ShekharBhide 2 месяца назад
I have one doubt In SQL query correct format is below state= 'bihar' and department= 'IT' in you case its state = bihar without ' ' qoute I think its not valid query
@abhijeetsinghbatra8143
@abhijeetsinghbatra8143 8 дней назад
This should help with that dr.append(f'{key} = "{value}"')
@AkhilVlogs2000
@AkhilVlogs2000 4 месяца назад
soln 2 ip_addresses=[] for input_str in input: parts=input_str.split('/') ip_address=parts[-1] ip_addresses.append(ip_address) print(ip_addresses)
@kushchakraborty8013
@kushchakraborty8013 4 месяца назад
Guru Ji, thank you a lot for this explanation. Ek sawal tha boss, interviews de toh raha huun and Spark,PySpark vagera sab ke jawab theek se de pa raha huun but SQL dikat ban raha hai, Kabhi kabhi complex querry likh ne ko bolte hai kabhi kabhi seedha table de dete hai aur bole joins perform karo. SQL aur Querry likh ne ke toh production experience hai nhai, zara resources suggest karo na jisse SQL mai aacha kar sake
@manish_kumar_1
@manish_kumar_1 4 месяца назад
Baat production me code likhne ka nhi aapke confidence ka hai. Aap leet code ke database questions solve kijiye. Confidence aa jayega
@MukeshKumarBehera-cb1pv
@MukeshKumarBehera-cb1pv 4 месяца назад
Manish Bhaiya , Can you please make a detailed videos on regular expression ?
@manish_kumar_1
@manish_kumar_1 4 месяца назад
Sure
@manishagarwal6780
@manishagarwal6780 4 месяца назад
ans_li=set([i.split("/")[-1] for i in lis]) print(ans_li)
@vinu11sharma
@vinu11sharma 4 месяца назад
@manish_kumar_1 result not match This is our result:- AND state=Bihar OR department=IT OR state=Delhi OR department=Marketing Expected result: AND state='Bihar' OR department='IT' OR state='Delhi' OR department='Marketing' Value should be under ' '
@manish_kumar_1
@manish_kumar_1 4 месяца назад
Yes you are right. Mistake ho gaya hai. Aap code ko accordingly change Kar lijiyega
@vinu11sharma
@vinu11sharma 16 дней назад
@@manish_kumar_1 final_condation = [] for i in state_dept_info: for key,value in i.items(): final_condation.append(f"{key}='{value}'") print(final_condation) final_condation = " OR ".join(final_condation) print(final_condation) final_query = query + " AND (" + final_condation + ")" print(final_query)
Далее
function in python | Lec-21
23:03
Просмотров 1 тыс.
*args and **kwargs in python | Lec-22
33:21
Просмотров 1,4 тыс.
SIGMA ENVY IS UNTOUCHABLE 🔥 #insideout2
00:10
Просмотров 4,1 млн
The Most Legendary Programmers Of All Time
11:49
Просмотров 553 тыс.
string in python | Lec-17
34:47
Просмотров 1,2 тыс.
error handling in python | Lec-23
29:13
Просмотров 1,4 тыс.
transformation and action in spark
21:58
Просмотров 33 тыс.
AES encryption in python | Lec-25
22:58
Просмотров 1 тыс.