I'm proud of myself :D


#1

<Below this line, add a link to the EXACT exercise that you are stuck at.>

https://www.codecademy.com/courses/learn-python/lessons/a-day-at-the-supermarket/exercises/string-looping?action=lesson_resume

<In what way does your code behave incorrectly? Include ALL error messages.>

Nothing wrong; i would delayed each letter from n+1 void (space) each next iteration of the loop for fun ^^ (Write “codecademy” in diagonal)

<What do you expect to happen instead?>

All happends as expected :smiley: (after 2-3 try)


count = -1

for letter in "Codecademy":
  
  count +=1
  #print count
  
  void = " "
  
  print count*void + letter
    
# Empty lines to make the output pretty
print
print

word = "Programming is fun!"

for letter in word:
  # Only print out the letter i
  if letter == "g":
    print letter.upper()
print ''    
print 'W'
print 'P'
print "^_^"

I dont like came here for complainning with stucked things (it can happend). So i like came here sometime for ask Advancing/ed? questions (at/in? notions i dont learn before good/long? time) or showing my Happiness to have fun when coding ^^

p.s : sorry for my bad english i’m a french scrub :c


#2

Je l’adore! C’était ton idée ou un cours?


#3

I complicated the given exercise.

They ask just write “codecademy” verticaly and i would write it in diagonal ^^

after instead of taken the 2 “i” of “programminf is fun”. i took the 2 “g” and i upper then.

at least i add "WP ^ _ ^ " when i saw my code worked as well ^^


#4

That’s very creative :slight_smile: Good job!


#5

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