You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not int or float. I want to use class which is I defined. Plus, I don't use any list or dictionary type inside my class.
class Array(object):
''' sizeOfArray: denotes the total size of the array to be initialized
arrayType: denotes the data type of the array(as all the elements of the array have same data type)
arrayItems: values at each position of array
'''
def __init__(self, sizeOfArray, arrayType = int):
...
Thank you.
The text was updated successfully, but these errors were encountered:
Not
int
orfloat
. I want to use class which is I defined. Plus, I don't use any list or dictionary type inside my class.Thank you.
The text was updated successfully, but these errors were encountered: