# Inductive University question help

**URL:** <https://forum.inductiveautomation.com/t/inductive-university-question-help/86634>\
**Category:** General Discussion\
**Tags:** scripting\
**Created:** [February 29, 2024, 8:34pm UTC](https://forum.inductiveautomation.com/t/inductive-university-question-help/86634 "2024-02-29T20:34:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![logan\_halbig](https://avatars.discourse-cdn.com/v4/letter/l/c77e96/32.png) [@logan\_halbig](https://forum.inductiveautomation.com/u/logan_halbig)\
**Post date:** [February 29, 2024, 8:34pm UTC](https://forum.inductiveautomation.com/t/inductive-university-question-help/86634/1 "2024-02-29T20:34:27Z")

</div>

Hello. I am having a lot of problems solving this question in the python basics section of inductive university. I was wanting to see if anyone could help me out.

Thank you,

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/2/e21fc1d39936679e7583da1dc3b1604a9d224a6d.png)

---

<div class="post-metadata">

**Author:** ![djs](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@djs](https://forum.inductiveautomation.com/u/djs)\
**Post date:** [February 29, 2024, 8:44pm UTC](https://forum.inductiveautomation.com/t/inductive-university-question-help/86634/2 "2024-02-29T20:44:22Z")

</div>

W3 schools (and others) have hundreds of tutorials about python that you should read through. This one has an example that is very similar to the one you are looking for:

> **[Python Conditions](https://www.w3schools.com/python/python_conditions.asp)**
>
> W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

I would read through all the basic tutorials and try to write some python code to practice. The answer to these questions will become much clearer with a little bit of experience (or perhaps watching the video).

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [February 29, 2024, 9:27pm UTC](https://forum.inductiveautomation.com/t/inductive-university-question-help/86634/3 "2024-02-29T21:27:57Z")

</div>

If you executed your code in the order shown in your post what would happen? (This is really very basic and I wouldn't expect a student to have to look up the manual to find the correct syntax.)

---

<div class="post-metadata">

**Author:** ![andrew.budaiev](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrew.budaiev/32/72921_2.png) [@andrew.budaiev](https://forum.inductiveautomation.com/u/andrew.budaiev)\
**Post date:** [February 29, 2024, 10:05pm UTC](https://forum.inductiveautomation.com/t/inductive-university-question-help/86634/4 "2024-02-29T22:05:53Z")

</div>

Also would be nice if the answers supported indentation (or maybe I'm asking for too much).
