Question: Hey everyone i need to convert this python code to Scratch Program / Sb2 Please someone can help me with it # python script def

Hey everyone

i need to convert this python code to Scratch Program / Sb2

Please someone can help me with it

# python script

def removeSecondHalfAlphabet(str): newStr = "" for i in str: if (i >= 'A' and i < 'N') or (i >= 'a' and i < 'n'): newStr += i print(newStr) str = input("Enter a word: ")

removeSecondHalfAlphabet(str)

I need to make this code into the Scratch program or Sb2

When the user pressed the space key, the program asks the user to enter a word and if the word used the second half of the alphabet It will remove them like if the user write cap the program will remove the p which is from the second half of the alphabet and it will show Ca

or if the user put Elephant word, the program will remove the letters from the second half of the alphabet and it will show Eleha

Please help me to do it I'm completely stuck with this project

Please and thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!