Question: Hi there, so I'm having trouble creating an array which has two columns one for range and one for true or false and implementing this
Hi there, so I'm having trouble creating an array which has two columns one for range and one for true or false and implementing this into a dataframe
1 issue is iterating through the array to check if it is a PALINDROME and appending next to it true or false and then setting that to the dataframe
any advice would be appreciated

This is in Python
Q4: In a Dataframe create an array in range(10-3000) in one column and a true or false column adjacent to this column which would be true if the number is a palindrome else false. Also print the total number of true values in this column
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
