HVL Førde Samling -3
Rules
There are no practical rules except for the usage of AI. Please do not copy the whole question text and paste it to ChatGPT, and copy-paste the answer. First, it is not ethical, second, you can get flagged.
You are allowed to use Google and AI for simple tasks like "how to sort this", "how to find the minimum", "how to return this element", "how to write a for loop for this" etc.
Note that some questions have terminal "input"s. Well, we have learned input() function and you can use it for single line inputs like this:
line = input() print(f"You entered: {line}")
or you can use this piece of code to get several line of inputs:
import sys
for line in sys.stdin: data = int(line) print(data)
Good luck!