I'm trying to understand this error of:
float object has no attribute a
Here is a simplified version of my code:
def Apple():
a = input("first: ")
b = input("second: ")
list1 = [0..a];
list2 = [0..b];
print list1, list2
Here is how the error is given
>> Apple()
>> AttributeError: 'float' object has no attribute 'a'
inputhas a typo[0..a]would make a list?inputs was aninout. It has since been changed. Joran and Apero seem to have an idea what the overarching issue is.