I Random Cricket Score Generator -
(e.g., 233-4), meaning the batting team has 233 runs and has lost 4 wickets. However, in Australia, this is often reversed to Wickets/Runs (e.g., 4-233). Top Tools for Cricket Scoring
: Once the first team finishes, set the current_score as the target for the second team to chase. Popular Tools & Platforms i random cricket score generator
import random def generate_cricket_score (): teams = [ " India " , " Australia " , " England " , " South Africa " , " Pakistan " , " New Zealand " , " West Indies " , " Sri Lanka " ] team1 , team2 = random.sample(teams, 2 ) runs = random.randint( 120 , 380 ) wickets = random.randint( 0 , 10 ) overs = random.randint( 20 , 50 ) return f " team1 vs team2 \nScore: runs / wickets in overs overs " print(generate_cricket_score()) Use code with caution. Copied to clipboard " Australia "