Loading…
cyochot
Translation added |
|
None
String updated in the repository |
|
Loading…
cyochot
Translation added |
|
None
String updated in the repository |
|
Keep the values and statements as they are; only change the comparison signs.
As a reminder, the comparison signs are:
[code]
> greater than
< less than
== equal to
!= not equal to
[/code]
The line [code]health < 5:[/code] means "health is less than 5".
Because [code]health = 100[/code], this is false so [code]print("health is greater than five.")[/code] won't run.
値とステートメントはそのままにしておきます。比較符号のみを変更します。
注意点として、比較記号は次のとおりです。
[code]
>より大きい
< より小さい
== 等しい
!= 等しくない
[/code]
[code]health < 5:[/code] という行は、「正常性が 5 未満」を意味します。
[code]health = 100[/code] なので、これは false なので [code]print("health is greater than five.")[/code] は実行されません。