#!/usr/bin/ruby # variable_scope_1.rb x = 5 def print_x x = 3 puts x end print_x puts x