- A few examples of JSON (JavaScript Object Notation) messages
by Edwin Sir
Here are a few examples of JSON messages: A simple JSON object representing a person’s […]
- What’s JSON? (JavaScript Object Notation)
by Edwin Sir
JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for humans to […]
- Write a Python function that validates a user input to be N digits separated by N-1 commas.
by Edwin Sir
def check_input_format(user_input): if not user_input: return False if not user_input[0].isnumeric() or not user_input[-1].isnumeric(): return False […]
- Write a Python function that sorts a user-input string entry.
by Edwin Sir
def sort_string(string): # Split the string into a list of integers nums = [int(x) for […]
- What’s a typical or similar contest question of the annual event of IOI?
by Edwin Sir
The International Informatics Olympiad (IOI) is a programming competition, so the questions typically involve solving […]