Mega Code Archive

 
Categories / Python Tutorial / Buildin Function
 

Group of Executable Statements

exec_code = compile(""" req = input('Count how many numbers? ') for eachNum in range(req):      print eachNum """, '', 'exec') exec exec_code