Python codding

Python codding Codding

10/06/2022

dict_1={'Ashish':342355, 'Anand':12578,'Akash':1245577,'Annu':90889,'Monu':4553}
name=input ("Enter your name ")
password=int(input ("Enter your passward "))
for nam, pas in dict_1.items():
if( name==nam and password==pas) :
print ("Match found")
break
else :
print ("Match not found")

07/06/2022



str=input("Entr your string")
lit=list(str)
print (lit)
lit1=[]
for s in range(len(lit)):
k=lit.count(lit[s])
lit1.append(k)
print (lit1)
d={}
for k in lit:
for freq in lit1:
if k in d:
d[k]+=1

else:
d[k]=1
break
print (d)
for key, value in d.items():
print (key,':',end='')
for v in range(0,value):
print ("∆",end='')
print ()
OUTPUT:-
Entr your stringshatrudhan kumar vishwakarma
['s', 'h', 'a', 't', 'r', 'u', 'd', 'h', 'a', 'n', ' ', 'k', 'u', 'm', 'a', 'r', ' ', 'v', 'i', 's', 'h', 'w', 'a', 'k', 'a', 'r', 'm', 'a']
[2, 3, 6, 1, 3, 2, 1, 3, 6, 1, 2, 2, 2, 2, 6, 3, 2, 1, 1, 2, 3, 1, 6, 2, 6, 3, 2, 6]
{'s': 2, 'h': 3, 'a': 6, 't': 1, 'r': 3, 'u': 2, 'd': 1, 'n': 1, ' ': 2, 'k': 2, 'm': 2, 'v': 1, 'i': 1, 'w': 1}
s :∆∆
h :∆∆∆
a :∆∆∆∆∆∆
t :∆
r :∆∆∆
u :∆∆
d :∆
n :∆
:∆∆
k :∆∆
m :∆∆
v :∆
i :∆
w :∆

04/06/2022

lit=[("Bat",56.7),("Ball",45.8),("Shoose",67.54),("Jug",56.34)]
l=sorted (lit, key=operator.itemgetter(1),reverse=True)
print (l)

03/06/2022

Write the output of following Expression.
s=56
g=55
print (f'Addition of {s} and{g} is equal to:-', s+g)

03/06/2022

print ("Hello student ")

https://youtube.com/channel/UCfzoY2DO2iHtvSbeMYc9stA
31/05/2022

https://youtube.com/channel/UCfzoY2DO2iHtvSbeMYc9stA

𝐇𝐢 𝐞𝐯𝐞𝐫𝐲𝐨𝐧𝐞 𝐈 𝐚𝐦 𝐒𝐇𝐀𝐓𝐑𝐔𝐃𝐇𝐀𝐍 𝐊𝐔𝐌𝐀𝐑. 𝐇𝐞𝐫𝐞 𝐲𝐨𝐮 𝐰𝐢𝐥𝐥 𝐠𝐞𝐭 𝐜𝐨𝐦𝐩𝐥𝐞𝐭𝐞 𝐤𝐧𝐨𝐰𝐥𝐞𝐝𝐠𝐞 𝐨𝐟 𝐌𝐚𝐭𝐡𝐞𝐦𝐚𝐭𝐢𝐜?....

29/05/2022

Write output of the expression:
print ('Hello python codding')

29/05/2022

Hello guys !

04/12/2021

Hey i am ASHISH KUMAR you can find out complete course videos of mathematics related to jee entrance and board exams at this channel. You can find out comple...

Address

Churk

Alerts

Be the first to know and let us send you an email when Python codding posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Shortcuts

Share

Category