How can I put a user input option in an if statement (Python/HTML) -
I am creating a form for a website and for one part I must add the last cost of the gift if the user selects Does it Check = form.getvalue ("giftwrap")
I tried:
elif total & gt; 150 and (B1 == "BC" or B1 == "BC" or B1 == "BC" or B1 == "BC") and checked: Print "& lt; p & gt; Taxes: $ ", tax3," & lt; / p & gt; "
I also tried:
Alif total & gt; 150 and (B1 == "BC" or B1 == "BC" or B1 == "BC" or B1 == "BC") and form.getvalue ( "Giftwrap"): Print " Tax: $", tax3, "& lt; / p & gt;"
None of them work Any help? Thank you.
Print your terms:
Print Total & gt; 150, B. 1. () == 'BC', checked
If prints true truth, then it works if at least one condition is wrong: See this condition first. If the output uninterrupted alif is not working (something 'if' first becomes true).
Comments
Post a Comment