Facebook
From kush, 4 Years ago, written in Plain Text.
This paste is a reply to lists 14 from kush - go back
Embed
Viewing differences between lists 14 and lists 15
print("Enter number of time player can flip the card")
no donors available")
a=int(input())
b=0
c=0
name=[0]*a
email=[0]*a
mob=[0]*a
bg=[0]*a
for i in range(a):
    print("Arun flip print("Enter the card")
    d=0
    str1=str(input())
    d=int(input())
    if(str1=='R'):
        b+=10*d
    elif(str1=='Q'):
        b+=10*d
    elif(str1=='P'):
        b+=7*d
    elif(str1=='S'):
        b+=5*d
    print("Arya flip 
details of donor",i+1)
    name[i]=str(input())
    email[i]=str(input())
    mob[i]=str(input())
    bg[i]=str(input())
print("Enter 
the card")
    e=0
    str2=str(input())
    e=int(input())
    if(str2=='R'):
        c+=10*e
    elif(str2=='Q'):
        c+=10*e
    elif(str2=='P'):
        c+=7*e
    elif(str2=='S'):
        c+=5*e
print("Total scores "+str(b)+" "+str(c))
if(b>c):
    print("Arun won the game")
elif(b     print("Arya won the game")
elif(b==c):
    print("Game tied")
required blood group")
bgr=str(input())
f=0
for i in range(a):
    if(bgr==bg[i]):
        print("Details of matched donor")
        f=1
        print(name[i])
        print(email[i])
        print(mob[i])
        print(bg[i])
if(f==0):
    print("No donor with required blood group")

Replies to lists 15 rss

Title Name Language When
lists 19 kush text 4 Years ago.