0
Chess Tournament Exercise Doesn’t Work
Hi folks, taking the Python course on this app, and after correctly solving the Chess Tournament practice exercise in the Data Handling lesson, it still keeps me in the loop of checking to see if the calculations done by my solution match the expected solution. For all five checks it says, yes the result of the calculation is as expected…but it won’t give me the points. Does anyone have any insight how to get past this? Thanks!
2 Respostas
+ 3
Ian Chowdhury please show us details as to what you have attempted:
Remember to convert
# Convert the values into numbers
Remember int() and what it does
# Calculate the score
-- wins = 3 points
-- ties = 1 point
score =
# Concatenate the 2 strings to produce a message
-- use the + and convert the int() to a str()
message = "Score: " + str(score)
+ 2
Ian Chowdhury ,
can you please show your current code that creates trouble?