Computers and Technology, 12.10.2019 00:40, anthony4034
Which string method counts the number of characters in a string?
a. the count() function
b. the index() function
c. the replace() function
d. the len() function
which of the following lines of code would slice all of the characters before index 6 and then stride through every other character in the slice?
a. string_var[: 6: 2]
b. string_var[6: : 1]
c. string_var[6: : 2]
d. string_var[: 6: 1]
what would you expect to happen in response to the code string_var[3: 5]?
a. a substring will be sliced from index 3 through index 4.
b. a substring will be sliced from index 0 through 5.
c. the substring will be sliced from index 3 through the end of the string, and then it will stride through the string.
d. a slice will be created using the characters before index 3 and then it will stride with the stride number 5.
which list method returns an element at a specific index and then deletes that element from the list?
a. the pop() function
b. the remove() function
c. the append() function
d. the replace() function
Answers: 3
Computers and Technology, 21.06.2019 23:10, Tatertotzzzz
Write a method that accepts a string object as an argument and returns the number of words it contains. for instance, if the argument is "four score and seven years ago", the method should return the number 6. demonstrate the method in a program that asks the user to input a string and then passes that string into the method, printing out whatever the method returns.
Answers: 3
Computers and Technology, 22.06.2019 11:00, terriblexsiren
You receive an email from an impressive-sounding stranger, professor alexander rothschild renard iii, president of the american institute for scientific political statesmen. he urges you to vote for his presidential candidate choice. this social media red flag is known as
Answers: 1
Computers and Technology, 22.06.2019 22:50, cheyennecarrillo14
Which is the best minecraft server? a. mineplex b. worldonecraft c. 9b9t d. 2b2t
Answers: 2
Which string method counts the number of characters in a string?
a. the count() functio...
a. the count() functio...
Chemistry, 31.03.2020 20:52
Mathematics, 31.03.2020 20:52
English, 31.03.2020 20:52