def sort_numbers(num1, num2, num3, num4):
    numbers = [num1, num2, num3, num4]
    numbers.sort()
    return numbers

# Example usage
num1 = 4
num2 = 2
num3 = 7
num4 = 1
sorted_numbers = sort_numbers(num1, num2, num3, num4)
print(sorted_numbers)

[1, 2, 4, 7]

Benefits of using a simulation:

  • safe for testing: Simulations let you try things out without real-world risks.
  • efficient: Simulations can get the test done faster than actually conducting it in real life.
  • skill practice: They’re great for practicing skills like pilot training.

Drawbacks of using a simulation:

  • simulations are not always accurate, and can sometimes not be similar to real-life. they can conclude incorrect results and not be an accurate model.

Social Media

  • social media platforms such as tiktok have algorithms that keep people interacting on the app. Based on a users past activity, the app will continue to feed new videos that it thinks the user will like. If they interact more, then more of those kinds of videos will show up. This algorithm continues to be perfected the more that the user interacts.