<s> from future_builtins import hex , oct , map , zip , filter <EOL> from itertools import imap , izip , ifilter <EOL> value_list1 = [ <NUM_LIT:0> , <NUM_LIT> , <NUM_LIT> L , - <NUM_LIT> , - <NUM_LIT> L , "<STR_LIT>" , ( ) , { } , [ ] ] <EOL> value_list2 = [ <NUM_LIT:0> , <NUM_LIT:100> , <NUM_LIT:100> L , - <NUM_LIT:100> , - <NUM_LIT:100> L ] <EOL> for value1 in value_list1 : <EOL> try : <EOL> print ( hex ( value1 ) ) <EOL> except Exception as e : <EOL> print ( type ( e ) , e . message ) <EOL> for value2 in value_list2 : <EOL> try : <EOL> print ( oct ( value2 ) ) <EOL> except Exception as e : <EOL> print ( type ( e ) , e . message ) <EOL> print ( map == imap ) <EOL> print ( zip == izip ) <EOL> print ( filter == ifilter ) </s>
