217k views
18 votes
Can someone help please

Can someone help please-example-1

1 Answer

8 votes

Answer:

if statements require == when comparing two values, and a colon (:) at the end. Also you gotta right && instead of and, then you gotta indent after like:

foo = 1

bar = 2

if foo == bar:

foo += 1

Step-by-step explanation:

User Gajendra Bang
by
5.6k points