lib/worldcup/cli.rb
def player_print(team_number)
			puts "Selecting 23 specific players out of 736 from FIFA WorldCup 2018 Russia..."
			list_of_teams = Worldcup::Team.players_to_teams
			puts "Squad of #{list_of_teams[team_number-1].name} :"
			list_of_teams[team_number-1].players.each do |player|
			puts "~~>  #{player.name}"
			sleep(0.4)
			end
		end
#player_print will take an argument which depends on what the user input is,
# then It will list 23 players with their team name.
player_print will take an argument which depends on what the user input is,
then It will list 23 players with their team name.
player_print will take an argument which depends on what the user input is then It will list 23 players with their team name .
def player_print(team_number)
			puts "Selecting 23 specific players out of 736 from FIFA WorldCup 2018 Russia..."
			list_of_teams = Worldcup::Team.players_to_teams
			puts "Squad of #{list_of_teams[team_number-1].name} :"
			list_of_teams[team_number-1].players.each do |player|
			puts "~~>  #{player.name}"
			sleep(0.4)
			end
		end
def player_print ( team_number ) puts "Selecting 23 specific players out of 736 from FIFA WorldCup 2018 Russia..." list_of_teams = Worldcup :: Team . players_to_teams puts "Squad of #{list_of_teams[team_number-1].name} :" list_of_teams [ team_number - 1 ] . players . each do | player | puts "~~>  #{player.name}" sleep ( 0.4 ) end end
player_print will take an argument which depends on what the user input is,
then It will list 23 players with their team name.
player_print will take an argument which depends on what the user input is then It will list 23 players with their team name .
team_number