Numbers
- Binary to Decimal and Hexadecimal🌶️
- Decimal to Binary🌶️
Operators
- Sum and Product🌶️
- Surface Area and Volume🌶️
Write a program that takes the radius
r as input and outputs the surface area and volume of a sphere.
- Right-Angled Triangle 🌶️
- Odd or Even 🌶️
Write a program that takes a binary number as input and determines if the count of
1s is odd or even.
- Until Age 60🌶️
- Solving an Equation 🌶️
Solve the following equation for
x = 1.0, 3.5, 4.7, 5.8, 7.7, 9.2.
- Removing Punctuation 🌶️
Write a program that removes punctuation such as
,, ., ", ;, : from a given string using the membership operator.
- Finding 1 Bits 🌶️🌶️
Write a program that takes an integer as input, converts it to binary, and outputs the count of
1 bits.
- Coin Toss 🌶️
- Maximum of Three Numbers 🌶️
- Sum of Digits🌶️🌶️
- Zero Padding🌶️