How about:
for i in numbersList:
print(i, i*i)
More Related Contents:
- How do you find min and max without using min and max function [duplicate]
- Unable to use convert strings into integers for a for loop
- Python3 – create global variable(list) from function
- User input integer list [duplicate]
- Getting a map() to return a list in Python 3.x
- How to return dictionary keys as a list in Python?
- Access multiple elements of list knowing their index
- Why is a list comprehension so much faster than appending to a list?
- Count frequency of words in a list and sort by frequency
- Calling filter returns [duplicate]
- Getting only element from a single-element list in Python?
- Unsupported operand type(s) for +: ‘int’ and ‘str’ [duplicate]
- Extending list returns None [duplicate]
- Print list of lists in separate lines
- One liner: creating a dictionary from list with indices as keys
- Understand Python swapping: why is a, b = b, a not always equivalent to b, a = a, b?
- Python range() and zip() object type
- Why do I get “List index out of range” when trying to add consecutive numbers in a list using “for i in list”? [duplicate]
- Initializing 2D array in Python
- How to apply a function to each sublist of a list in python?
- “TypeError: ‘type’ object is not subscriptable” in a function signature
- Changing one dict changes all dicts in a list of dicts [duplicate]
- Appending to list in Python dictionary [duplicate]
- How to sort a list of strings in reverse order without using reverse=True parameter?
- How does str.startswith really work?
- Nested lambda statements when sorting lists
- Removing an item from a list of lists based on each of the lists first element
- Size of a Python list in memory
- Skip elements on a condition based in a list comprehension in python
- Converting string to tuple without splitting characters