🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links
beginner

Check a Condition

#conditionals #logic

Use an if statement to make a decision.

Create a variable 'temperature' with a value of 30. Write an if statement that prints 'It is hot' if the temperature is greater than 25, and prints 'It is cool' otherwise.