Question: this is done on python with thonny Sum of select Integers Write code that computes the sum of the integers between 100 and 400 (inclusive)
this is done on python with thonnySum of select Integers Write code that computes the sum of the integers between 100 and 400 (inclusive) that are evenly divisible by 5 or 7. Store the result in a variable named sum select. Solve it! How Do You Spell That? Write code that produces a string made up of each character in a string variable named word separated by a dash. For example, if word contained the string 'Python', the resulting string would be 'P.y-t-h-o-n'. Do NOT include a dash after the last character. Store the resulting string in a variable named spell_string. Assume that the variable word has already been initialized. Solve it! Count Triples We'll say that a triple in a string is a character that appears three times in a row. Triples may overlap. For example, the string "AAAXBBBBxyz' contains three triples. Write code that counts the number of triples in a string named text and stores the result in a variable named triple_count. Assume that the variable text already has a value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
