45:String concatenation and re.. Submit Details Run Instructions Grades Actions 45:String concatenation and re.. File: work/s22.py Terminal C File: work/s34.py Saved Files O README C Source C name Delete Copy work/s34.py 4 1. 5 # YOUR NAME : resource 6 # ASSIGNMENT : 7 # DATE COMPLETED: 8 Prompt the user for a color 9 increment = 0 10 mystr = input("Please enter a color: ") + lib 9 mystr = input("Please enter a bird: ") print (mystr) 10 print(mystr) and a number (call it 11 + asnlib 11 increment = int(input("Please enter the increment: ")) increment). Display the 12 increment = int(input("Please enter the increment: ") ) 12 print (increment) 13 print (increment) 13 counter = 0 + scripts 14 changes = 0 color in lower case, but 14 counter = 0 15 for ch in mystr: 15 changes = + startercode 16 counter = counter + 1 convert every increment 18 if counter == increment: character to upper case. 16 for ch in mystr: 17 counter = counter + 1 - work 10 newch = ch. upper() 20 Count have many times you 18 if counter == increment: else: counter = 0 21 newch = ch. lower( ) had to change the case of a 19 20 newch = ch. upper ( ) output1.txt 22 23 if ch I= newch: changes = changes + 1 character. else: counter = 0 output2.txt 24 print (newch, end="") 25 newch = ch. lower( ) output3.txt 26 print () 23 if ch != newch: 27 print("There were", changes, "changes") 28 Click here for an example 24 changes = changes + 1 output4.txt 29 run 25 26 print (newch, end="" ) output5.txt 27 print[) + . 28 print ("There were", changes, "changes") output6.txt Running Test 4 29 output7.txt Test 4 passed 30 21 output8.txt Running Test 5 Test 5 passed + bash output9.txt 0001: Please~enter~a-color:~This~is~a-sample~that-is~guaranteed~to~be~long-enough~to~show-y Running Test 6 ou~what~is~supposed~to~happen. $34.py Test 6 passed 0002: Please-enter~the~increment: ~3 0003: this~Is~A~sAmple~ThaT-is~guarAntEed~to~be~long-Enough~to-show~You-what~Is~SupposEd~To Running Test 7 Test 7 passed ~Happen. 0004: There-were~25~changes Running Test 8 Test 8 = MISMATCH FOUND ON LINE 0004: ==== Running there because in fact it which shou ACTUAL : There-were-25-changes Test S EXPECTED: There~were-31-changes ccc_v1 based on the actual data coming in Adjust your program and re-run to test. DI 14:24 / 14:59 Test 1 failed ddd_v1_w_FPok_516858 @runweb29 : ~$