i was a little confused at first by the %s and the % bits but i think i get what they do now ... am i correct in saying that python inserts/substitutes where there is an instance of %s with the objects inside the parenthesis after the symbol % and with multiple instances of %s in the equation being substituted into if there is commas between multiple values in the parenthesis then it substitutes them sequentially ?
You got it.
and i assume you don't have to enter print ("print is now a function") everytime you print the python program and defiantly not everytime the print command is used (i know the second one is not needed for sure)
The
print ("print is now a function") was just an example.
... and it seems it makes no difference whethere " or ' is used inside the print command parenthesis at least or is there a difference ... ?
When the value to be printed is a string it must come within double or single quotes. A string is an arbitrary sequence of bytes or characters. A number can't have quotes around it or it will be interpreted as a string. That can be confusing at first but it will not be after a few days/hours of practising.
umm this is probably not a private post but hey does not matter that much i guess but yea my real name is actually Myles i just use DeathDealer910 as gamer and username in lots of places to save having to remember lost of them ...
Myles
Yes that name sounds teenish but for use in a forum it is Ok. Just don't use it in an email list where the tone is more formal.