diff --git a/Built-in Functions-Binary Conversion.md b/Built-in Functions-Binary Conversion.md index bedea1b87..5bf86f1e5 100644 --- a/Built-in Functions-Binary Conversion.md +++ b/Built-in Functions-Binary Conversion.md @@ -9,9 +9,16 @@ To write a Python program to convert the number **16** into its **binary represe 3. Print the result. ## 🧾 Program - -Add Code Here +``` +a = 16 +b = bin(a) +print(b) +``` ## Output +image + ## Result + +Hence, the code is executed successfully, and the number **16** is converted into its **binary representation** `0b10000` using the built-in `bin()` function.