Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
RCM Distributor info.
N = input() Dist = { "Pradeep":{ "ID": 31922934, "Level": "Star Gold", "City": "Dalla", "Income": 28000 }, "Sudama":{ "ID": 32236014, "Level": "Star", "City": "Dalla", "Income": 18000 }, "Irfan":{ "ID": 31922942, "Level": "Star Gold", "City": "Dalla", "Income": 26000 }} D = dict( ID = 32236152, Level= "Winner", City = "Dalla", Income = 12000) Dist["Shashi Chaubey"] = D Dist["Amit Kumar"] = dict( ID = 32236144, Level = "Opener", City = "Dalla", Income = 5000 ) P, S, I, Sh, A = Dist["Pradeep"], Dist["Sudama"],Dist["Irfan"], Dist["Shashi Chaubey"], Dist["Amit Kumar"] X = [ "Pradeep", "Sudama", "Irfan", "Shashi Chaubey", "Amit Kumar", "non"] if N not in X: N = X[-1] Y = [ P, S, I, Sh, A, 0 ] n = X.index(N) D = Y[n] print ("*"*39) if n < (len(X)-1): print ( " Mr %s is on %s level. His distributer ID is %d. He belongs to %s. His monthly income is above ₹%d." % ( N, D["Level"], D["ID"], D["City"], D["Income"] )) else: print (" "*7,"Please enter FULL NAME") print ("*"*39)
run
|
edit
|
history
|
help
0
problem
SceneGraph Interviewee Task
If else if in 2 ways
min max
init constructor
EquivalentRandomDigits
.....✓[Guess the number]®®®®®®®•$$$$✓.....
kaam ki chiz
Regular falsi
Quick sort