#Need help 4.3.5 creating your own plant CodeHs

13 messages · Page 1 of 1 (latest)

shadow kernel
#

The most reasonable place would be either at the top before main() or inside of main(). It is possible to do this inside the functions that use them, but that doesn't make much sense to do, since it would not offer any advantage over using literal values if done that way.

#

Also, this code has nested functions, which is completely legal, but it is not something commonly done intentionally at your point in the learning process.

chrome steeple
#

oh

#

What const variable should I create I don't want it to affect my code too much?

shadow kernel
chrome steeple
#

thank you for your help

visual umbra
#

Hey random question because I am curious: Are you using CodeHS through a real school or online bootcamp or something similar? Just curious how that platform works, it wasn't 100% clear to me on their website.

chrome steeple
#

I'm using CodeHS through Online Summer School

shadow kernel
chrome steeple
#

Oh no just a grammer error

shadow kernel
#

Is it affiliated with a regular school?

chrome steeple
#

yes

visual umbra
#

Thanks for clarifying! cheers

Good luck with the rest of your program! Don't hesitate to post again if you encounter more issues.