What will get me to the bread quicker freelance wise. Web dev or programming?
Web dev over Applic Dev. However, I'd also pick mobile Dev on the side. They really asking for mobile apps and sites ou here.
What will get me to the bread quicker freelance wise. Web dev or programming?
"Web dev" (HTML, css, js, PHP, MySQL) "programming" (C#, Java, swift, python, etc)Not really... if you clarify, we can provide insight
Thanks, I really need this bread and can't get a second job.Web dev over Applic Dev. However, I'd also pick mobile Dev on the side. They really asking for mobile apps and sites ou here.
"Web dev" (HTML, css, js, PHP, MySQL) "programming" (C#, Java, swift, python, etc)
fukkIt's easier and quicker (generally speaking) to get into web dev... from a freelance perspective, there are tons of orgs in need of it. But since it is easier to get into, there are also more people offering those services.
I would say, find what you have an aptitude for and build whatever path you want to follow around that.
What about it isn't working?
Which language are you writing this in, it's possible that the reason you can't "update" the value in the array is that the array is immutable.
I'm using Python 3. Not sure why my code above isn't working as lists are mutable.
But anyway, a Breh figured out another way...
Looking at the Python manual I dove into the list section and looked at list methods. Found a way to do it using list methods...
Here's the breakdown.
row1 = [1,2,3]
row2 = [4,5,6]
row3 = [7,8,9]
selection = input("Player 1, where would like to place your X? Select location 1-9")
Let's assume the player selected location 3.
First I'll set a variable equal to the position of the player's selection in row1 with:
a = row1.index(selection) Note this method returns an index number of the location of "selection", in this example it is index 2...
Next I'll remove the player's selection from row1 with:
row1.pop(a)
Finally, I'll add "X" in place of the removed players selection with:
row1.insert(a, "X")
Now the board looks like...
row1 = [1,2,X]
row2 = [4,5,6]
row3 = [7,8,9]
switched over to atom from brackets. da fukk did i not do this earlier.
haven't tried anything outside sublime/notepad++, how's good are those 2.
switched over to atom from brackets. da fukk did i not do this earlier.
haven't tried anything outside sublime/notepad++, how's good are those 2.
Y'all need to switch over to Visual Studio Code and stop playing around.Atom is comparable to Sublime
Y'all need to switch over to Visual Studio Code and stop playing around.
I turned a few people at work onto it, it damn near changed their lives.I made the switch, I'm enjoying. The package manager is lovely.
you got 1 more onto it.I turned a few people at work onto it, it damn near changed their lives.
Y'all need to switch over to Visual Studio Code and stop playing around.