#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목월수 13시 퀴즈2019-04-15 12:13
작성자

혹시

a=input(prompt="Your Kick:")

import random

b=random.randint(0,2)

your_score=0

com_score=0

f=0

if (a==b):

    print("No Goal!")

else:

    print("Goal!") 

    your_score = your_score+1

    

c=input(prompt="Your Def:")

d=random.randint(0,2)


if (c==d):

    print("No Goal!")

else:

    print("Goal!") 

    com_score = com_score+1


print("Final Score"," ", your_score,":",com_score)


이런식으로 만약 코딩했다면 모든 조건에 충족되나요?

    

댓글