photo

Aron


Last seen: 7 mois il y a Actif depuis 2023

Followers: 0   Following: 0

Statistiques

  • Thankful Level 2

Afficher les badges

Feeds

Afficher par

Question


Why do properties differ when I call them from the main file compared to when I call them in a method?
I'm working on an OOP assignment for an university and we have to simulate herds of cows, each herd as an object with methods li...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


How to round numbers using the decimals as a probability?
Hi, I am trying to create code where the decimals are used as probability of how the value is rounded. For example, I have array...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


How to return random unique values based only on the value in each row for the first colomn?
To get a sense of what I am trying to do: A = [1, 15200, 3, 5, 7; 15200, 15200, 15200, 7,0; 1,1,1,1, 15200; 9200, 1, 1,1,1]; ...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Dot indexing is not supported for variables of this type. For an array in an object
Hi, i'm trying to make a method in a object which receives an array and the object itself as input arguments and uses a property...

plus d'un an il y a | 1 réponse | 0

1

réponse