pig latin help in code coach
https://www.sololearn.com/coach/16?ref=app this is the code I want to remove first letter and make this work https://code.sololearn.com/cszZpuB1J6Fi/?ref=app
#slice #split # +ay inp=input("").split(" ") for i in inp: num=i print (i.replace(num,"") +num+"ay",end=" ") that should work fine
✳AsterisK✳ input: hello world output: ellohay orldway expected output: ellohay orldway
✳AsterisK✳ Did you change something? Your code works now correct :)
Yeah, Denise Roßberg I noticed later that the challenge need all output in a single line
To post your code: you need to store your code in the code play ground. Then post the link here. In code coach everyone can only see the own codes.
ich did it
For more than one word, you print each word in a new line. But you need to print them in one line.
yes , I also can't replace all first character in each string in my code it only works on the first one
yes , I see that's also a problem
it doesn't work because of the space , and yeah the guy named asterisk added something to it that made it loop for every object in the list not just the first
How do I generate a list with <N> unique elements randomly selected from another (already existing) list?
Given three integer matrices A(m*n),B(m*n) and C(m*n) . Print the one with more zero elements. beside code
I'm coding this for hours & can't make the value of the 5 random numbers round off to 2 decimal places like in the examples
Overloading + operator
1. Write a program that asks the user for their name and how many times to print it. The program should print out the user’s nam