Python Forum
Teacher (thrown in at the deep end - help)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Teacher (thrown in at the deep end - help)
#3
if height >=1.57 and height <= 1.92:
        total = total +1
or

if 1.57 <= height <= 1.92:
        total = total +1
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: Teacher (thrown in at the deep end - help) - by buran - May-22-2018, 12:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  which exception should be thrown for a sequence of the wrong length? Skaperen 1 880 Jan-06-2023, 04:13 AM
Last Post: deanhystad
  deep learning python Stevedas 1 1,717 Sep-26-2021, 08:32 AM
Last Post: Yoriz
  Pytest API Post call thrown errors pyseeker 4 3,687 Dec-08-2019, 04:53 PM
Last Post: pyseeker
  Invalid argument error thrown. pyseeker 4 8,660 Sep-10-2019, 07:03 PM
Last Post: pyseeker
  pytest fixture in conftest.py thrown error while in the test file runs OzzieOzzum 1 4,013 Jul-31-2018, 12:12 PM
Last Post: OzzieOzzum
  [split] Teacher (thrown in at the deep end - help) Mr90 2 3,040 May-23-2018, 02:04 PM
Last Post: DeaD_EyE
  Parse XML - how to handle deep levels/hierarchy dwill 8 9,541 Apr-17-2018, 04:17 PM
Last Post: dwill
  Exception not thrown in python3 ONEoo7 7 6,166 Apr-09-2017, 01:58 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020