Concatenate variable name in python

Viewed 9353

I have a set of table names

1. EOM
2.STMT
3.LOOKUP etc

I want to associate these table names with some variables names such as

1. start_time, 
2. end_time, 
3. total_time etc. 

The way I want to write these variable names is something like

1. start_time_EOM, end_time_EOM, total_time_EOM
2. start_time_STMT, end_time_STMT,total_time_STMT
3. start_time_LOOKUP,end_time_LOOKUP,total_time_LOOKUP

Can this be done in python, and how? (Note: I am new to Python, and still trying to learn).

2 Answers
Related