Week 4
Text Challenge 1 Write a program to replace all occurrences of the word ‘red’ with ‘blue’ in the following sentence: The red car was going… Leggi tutto »Week 4
Text Challenge 1 Write a program to replace all occurrences of the word ‘red’ with ‘blue’ in the following sentence: The red car was going… Leggi tutto »Week 4
Text Challenge How many palindromic integer numbers less than 1000 are there? A palindromic number reads the same backwards as forwards, for example 131, 55… Leggi tutto »Week 3
Text Challenge Write a program that allows the user to enter a sentence which the computer will then spell check. Hint: Use the Dictionary class… Leggi tutto »Week 8
Text Challenge 1 Back in Week 1 the challenge was to write a program that reversed a word. In this new challenge you have to… Leggi tutto »Week 7
Text Challenge 1 Write a program that counts the number of words in a sentence that the user enters. E.g. “We don’t need no education”… Leggi tutto »Week 6