9. Something Of Value Help


#1

Link To Code

What am i do wrong? It reads the following error:
Oops, try again. It looks like your code did not print the correct total.


#2

Hi @cweb_,

Unfortunately you cannot link to your code the way you did. If I click on your link, I end up looking at my own code since I am logged in as myself on my machine... :smile:

What you can do is this:

Whenever you would like to paste code, since this forum supports Markdown you can use three backticks before and after your code block like so:

```
def my_func(x):
my_var = 0
if x > my_var:
sum = my_var + x
else:
print "Odelay!"
return sum
```

and it will retain proper indentation and even have nifty syntax highlighting:

def my_func(x):
    my_var = 0
    if x > my_var:
      sum = my_var + x
    else:
      print "Odelay!"
    return sum

So just post your code here so we can try and help! :smile:


#3

I figuered it out, but i am not able to install Markdown due to the fact that this is a school laptop. LOL so many restrictions.

@denisaltroy


#4

@cweb_: You do not need to download or install anything, Markdown syntax is supported in the forum editor!

Here's another markdown tags reference. Most of these tags are supported by Discourse, the new Codecademy forum engine... Give it a shot :smile: