Recap - True or False
Part of the Fundamentals section of Coddy's GDScript journey. Lesson 37 of 92.
Challenge
EasyWrite a program that reads a number from the input: 1 or 0.
If the number is 1, print T. Otherwise, print F.
Try it yourself
extends Node
func _ready():
# Write code here
pass
All lessons in Fundamentals
4Operators Part 1
Arithmetic OperatorsInteger DivisionModulo OperatorArithmetic ShortcutsRecap - Simple MathComparison Operators10Functions
Declare a FunctionArgumentsReturnReturn TypesRecap - Sigma FunctionRecap - Validation FunctionDefault Values5Operators Part 2
Logical Operators Part 1Logical Operators Part 2Recap - Simple LogicLogical Operators Part 3Ternary OperatorPractice on your own: Online GDScript compiler