Soccer is the most 'popular' sport in the world because it is played more than any other by kids growing up. ... So, yeah, ya see…Soccer's not so much “The Beautiful Game'' as it is…
Answer:
player1Wins = player1Losses = player2Wins = player2Losses = tieCount = 0
score1 = 10
score2 = 10
if score1>score2:
player1Wins=player1Wins+1
player2Losses=player2Losses+1
print("player1 wins")
elif score2>score1:
player2Wins=player2Wins+1
player1Losses=player1Losses+1
print("player2 wins")
else:
tieCount=tieCount+1
print("tie")
Explanation:
Since your indentation can not be understand what you give us, please try to do it as you see in the answer part.
Although it seems that this is a part of the code, it is normal that you get errors. However, since you keep track of the variables, it is better to initialize the variables that will keep the counts. Since initially, they are 0, you may set them as 0. Also, if you assign the values to the scores, probably you would not get any error. This way, you may test your code as I did.
Other than these, in the else part you do not need to write "score1=score2", because if score1 is not greater than score2 and if score2 is not greater than score1, this already implies that they are equal
Answer: The .(dot) character
Explanation: in Linux, the period (dot) is short hand for the bash built in source. It will read and execute commands from a file in the current environment and return the exit status of the last command executed.
The .(dot) character is the first character for a file or directory names if they should not be displayed by commands such as ls unless specifically requested
Answer: hello the options related to your question is missing attached below is the complete question and options
answer : Read the status register ( A )
Explanation:
To determine if the device is busy or ready to accept a new command the line of action is to write a code that will Read the status register. A status register is a hardware register which contains the information about the processor of the device ( i.e. whether the processor is busy or ready )
Answer: False
Explanation: Functional requirement is the requirement in the operating system that gives the description of the functioning and specific action that is done by system.
Thus, receiving the data rapidly is not the form of functional requirement as it does not specifies any function that is to be done and receiving of data is already being done and at faster rate in future.
Performance requirement is the factor that is required for defining that how well a system should perform the function.So, reviving data at rapid rate is performance requirement.So, the statement given is false.