On Fri, Apr 10, 2020 at 7:12 AM Sam Duncan <[email protected]>
wrote:
>
> Embarrassed to ask a newbie question, but I'm stumped. I can see how these
> three files below interact, but I've not been about to add a simple python
> program to Home.html.
>
> Do you just add the following to Home.html? I'm sure there are egregious
> Python errors below.
>
> Thank you so much for getting me out of this sand pit.
>
> $word = "JeffreySamuel"
> $word = word.upper()
>
> $for letter in word:
> <h2>(letter)</h2><br />
>
It is a bit tricky to do the assignments. You need to have a space after $
for assignment. The following would work.
$ word = "JeffreySamuel"
$ word = word.upper()
$for letter in word:
<h2>$letter</h2><br />
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/webpy/CAC7wXFz6Btwegpt6rCsZobwH5_3Gz6FPxiK3feb1W20GSqMpPw%40mail.gmail.com.