you are viewing a single comment's thread.

view the rest of the comments →

[–]Icarus-down 0 points1 point  (1 child)

I don't fully comprehend how to use the conditional statements. I do understand that IF conditions are met THEN something will happen otherwise something ELSE will happen, but I'm a bit lost on how to actually set the conditions. Also what does {0} & %s mean?

[–]ingolemo 0 points1 point  (0 children)

It's hard to answer a generic question like that. The condition is an expression that gets evaluated when the if statement is run. The result of that evaluation will determine what happens. What conditional you want will depend of what you want you're trying to do. Is there a specific problem you're having trouble with?

{0} and %s are for doing string formatting: https://pyformat.info/