Question:

String Slicing Use string slicing to rearrange the beat

Last updated: 3/1/2023

String Slicing Use string slicing to rearrange the beat string in the code below Divide the original beat into three slices sliceA contains the first 6 characters sliceB contains the next 6 and slicec contains the rest of the string to the end Make newBeat by combining the slices B C then A 1 2 from earsketch import 3 init 4 setTempo 120 5 6 7 8 Original beat string beatString 0 00 00 0 000 9 Write your string slicing code here 10 sliceA 11 sliceB sliceC 12 13 14 15 16 17 makeBeat OS COWBELLO1 1 1 newBeat Make your new beat newBeat 18 19 finish PYTHON