nums = [x*1.5 for x in range(1,11)]
print(nums)
The first line is the list comprehension and the second prints the list to the screen so you can see that it works.
Nicephore Niepce created the first photograph.
Read it backwords. it helps look for spelling errors.
<h2><em>1) By drawing a row in the table using the draw option.
</em></h2><h2><em>
</em></h2><h2><em>2) By using the insert option under the Table Tools tab.
</em></h2><h2><em>
</em></h2><h2><em>3) By designing the table with an added row using the Design tab.</em></h2><h2><em></em></h2><h2><em>HOPE IT HELPS (◕‿◕✿)</em></h2>
Answer:
The program in Python is as follows:
num = int(input())
for i in str(num):
print(int(i))
Explanation:
This gets input for the number
num = int(input())
This converts the number to string and iterates through each element of the string
for i in str(num):
This prints individual digits
print(int(i))