Hangman Part 2
Hangman Part 2
In coding there
is strings and lists, strings are only one and lists are groups of strings. Like
strings lists can be added together, but a string and a list cannot be added
together. There was a new function I learned which was called the in
function which tells you if there is a certain string in the list. It can also
be used to check if one string exists in the other. Another function I have
learned is the delete function which deletes a string from a list according to
its index value. You can join a couple of lists together by using a list of
lists function. There is a lower () function and the upper () function.
The lower function calls all the characters of the string to lower case. The upper
function calls all the characters of the string to an upper case.
Comments
Post a Comment