We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Strings
- String Formatting
- Discussions
String Formatting
String Formatting
Sort by
recency
|
1729 Discussions
|
Please Login in order to post a comment
i feel stupid This were mistakes i made 1. didnt adjust spacing according to binary 2. forgot to make hexadecimal in upper case
Great topic—looking forward to seeing the examples and best practices! Gurubhai247 signup
decimal_num = [] def print_formatted(number): # your code goes here r=0 decimal_num = list(range(1,number+1))
if name == 'main': n = int(input()) print_formatted(n)