Break It Down


#1



https://www.codecademy.com/courses/python-beginner-2W5v7/0/1?curriculum_id=4f89dab3d788890003000096#


im not sure about my code

So "Python" becomes "ythonpay."

Replace this line with your code. 
word=input('enter you word')
char="a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z]"
piglatin=""
char_1="ay"
for word in char: 
    if word == char:   
        first_letter=word[0]
        second_letter=word[1]
        
        piglatin= second_letter + word + first_letter  + char_1
    return True
    else:
        return False
print piglatin


#2

Given this is only the first lesson, and it has no actual coding, your submission above is not something we can discuss or critique. Proceed to the next lesson and follow the instructions given, explicitly.

The idea of such a project is to explore learned concepts. so learn the concepts, then explore.

Good first effort, by the way.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.