Forum in maintenance, we will back soon 🙂
Python condition
Â
I think you worte code wrong here. you said between 80 and 100.
if so, the code should beÂ
if length < 100 :
print("Long")
if length > 80 :
print("medium")
Â
but you did if length > 100:
Â
Like I said before, I don't know anything about code and python yet. so I could be wrong.Â
Â
Thanks.
No worries, friend,am here to help anytime.
if the number is not greater than 100, it will check if it is greater than 80. so between 80-100 will be medium, and greater than 100 is long. does this helps?
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@jay-kim ahh now I got your point, no, the idea is when the code executes it will test the first condition, if it is true, it doesn't move the second.Â
this is what "else if" means.Â
@jay-kim I think the site software is what is making it smaller. For some reason when I write like this
(@jay-kim) the software changes the font. @Hasan, is this something you can modify?
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@ssadvisor sometimes it is transformed into a DIV instead of a paragraph. I dont know why. did you paste the text or write directly into the editor?
@admin I copy and pasted the name tag and then I wrote it directly.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@admin You can fix this by making "Paste as text" the default.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack