Do a list comprehension, iterate over both the lists and add the strings, like
list3 = [i+str(j) for i in list1 for j in list2]
More Related Contents:
- Windows path in Python
- How to add a new column to an existing DataFrame?
- Get the first item from an iterable that matches a condition
- Creating a range of dates in Python
- Extract images from PDF without resampling, in python?
- Generating matplotlib graphs without a running X server [duplicate]
- How to get item’s position in a list?
- Timeout for python requests.get entire response
- Can’t install new packages for Python (Python 3.9.0, Windows 10)
- How to upload a file to directory in S3 bucket using boto
- How to convert column with dtype as object to string in Pandas Dataframe [duplicate]
- Format numbers to strings in Python
- Dynamically add/create subplots in matplotlib
- How can I insert a new tag into a BeautifulSoup object?
- Getting “global name ‘foo’ is not defined” with Python’s timeit
- Convert column to row in Python Pandas
- Detect text area in an image using python and opencv
- Read a base 64 encoded image from memory using OpenCv python library
- Is there a python module to solve linear equations?
- Putting many python pandas dataframes to one excel worksheet
- Group list by values [duplicate]
- If list index exists, do X
- Find names of top-n highest-value columns in each pandas dataframe row
- How to create a new text file using Python
- Use a string to call function in Python [duplicate]
- Python argparse: Is there a way to specify a range in nargs?
- Why is a function/method call in python expensive?
- PythonMagick can’t find my pdf files
- Creating multiple Excel worksheets using data from a pandas DataFrame
- XlsxWriter object save as http response to create download in Django