Menu
Coddy logo textTech

Recap - True or False

Part of the Fundamentals section of Coddy's Python journey — lesson 29 of 77.

challenge icon

Challenge

Beginner

Write a program that gets an input from the user, a number, 1 or 0.

The program will output "T" if the input is 1 and "F" otherwise.

Remember! you can cast the input to number using int()

Try it yourself

All lessons in Fundamentals