0

How to improve line 12 in the code? Can we use get function there?

https://code.sololearn.com/cF6xlNS6giTL/?ref=app

31st Jul 2022, 5:42 AM
Subham
Subham - avatar
2 ответов
+ 1
Subham , why should using .get(... , ...) be an improvement? in this case it does exactly the same.
31st Jul 2022, 11:06 AM
Lothar
Lothar - avatar
0
https://code.sololearn.com/cjc6GOmv4cA2/?ref=app improved the code but logic is broken 0 away team wins 1 home team wins 3 games every game one home, one away team Lothar
31st Jul 2022, 11:09 AM
Subham
Subham - avatar