Skip to content
Advertisement

Tag: if-statement

Python between syntax (IF statement)

I am currently working on creating python automation tool based on excel file and basic idea of this project is allocation data into specific people automatically. However, I faced a small problem which is to make a condition for right allocation. Data for conditions in Excel: Description : I’d like to allocate data based on above of the longitude min

Why is this basic if-else expression failing?

This is my first post on the site. I am in my third week of coding class and have completed everything but this problem. We are using ZyBooks. I have completed everything but this participation exercise. It isn’t graded; however, it is driving me nuts. We are asked to write an expression that will print “in high school” if the

Why does Python not read the next line (if)?

I wrote the program about Pythagorean I got my answer but python doesn’t read (break) after (if) . My program title : (Special Pythagorean triplet), there is a one answer exist for ((a+b+c=1000)&(a**2 + b**2 =c**2) ) I want find abc . I know (a=200, b=375, c=425) but when program starts it never stop and it continue. It also types

Advertisement