subject

1. Use for, .split(), and if to create a Statement that will print out words that start with 's':st = 'Print only the words that start with s in this sentence'
2. Go through the string below and if the length of a word is even print "even!"
st= 'Print every word in this sentence that has an even number of letters'
3. Write a program that prints the integers from 1 to 100. But for multiples of three print
"Fizz" instead of the number, and for the multiples of five print "Buzz". For numbers which
are multiples of both three and five print "FizzBuzz".

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:20
Me with this program in c++ ! computers represent color by combining sub-colors red, green, and blue (rgb). each sub-color's value can range from 0 to 255. thus (255, 0, 0) is bright red. (130, 0, 130) is a medium purple. (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (in other word, equal amounts of red, green, blue yield gray).given values for red, green, and blue, remove the gray part. ex: if the input is 130 50 130, the output is: 80 0 80. thus, find the smallest value, and then subtract it from all three values, thus removing the gray.
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
question
Computers and Technology, 24.06.2019 02:20
Peter is thinking of a number which isless than 50. the number has 9 factors.when he adds 4 to the number, itbecomes a multiple of 5. what is thenumber he is thinking of ?
Answers: 1
question
Computers and Technology, 24.06.2019 12:00
Which spreadsheet operation does a look function perform?
Answers: 1
You know the right answer?
1. Use for, .split(), and if to create a Statement that will print out words that start with 's':st...
Questions
question
Mathematics, 11.01.2021 18:30
question
Mathematics, 11.01.2021 18:30
question
Mathematics, 11.01.2021 18:30
question
Mathematics, 11.01.2021 18:30