Just like the question says I am trying to add a comma at the end of a pattern or sub string. I found 3 solutions that should do the job, and look logical too. But they are not changing anything. I will show you all those codes. The goal is to find out if there is something that I am
Tag: add
I’ve declared variable “x” but i did not call it, is it ok to not call variables that have values assigned?
In this program, the user will enter the total amount of numbers in a list. the random module will generate random numbers between 1 to 30. Then all the numbers from the list will be added together. I’ve tried to use the variable x but it doesn’t give the results I want, does anyone know a better/simpler way of creating
Python, adding a different characteristic to each element of a list
i am currently working on a producion optimization tool. There are Jobs who needs to be produced on machines. I want to add a workspeed for the machines so they can finish the jobs in a different speed depending on the machine it is processed on. This is the class and list i am using for the machines: i want