try tag

4 questions


1 answers
104 views
0
Detect when the registry is created

I want to hook up when the registry is created.There are APIs such as regopenkey, but I thought I was not sure when all registry creation was included.If hooking at the time of registry creation, whic...

1 years ago

2 answers
119 views
0
To determine if two squares overlap

We are making a program that determines whether squares overlap each other by receiving rectangular information (x-pos, y-pos, height .All inputs are int type, and only rectangles will be entered. I t...


1 answers
85 views
0
I have a question during programming using Python exception.

Hello, I'm a student learning Python. I am writing a program that calculates the average by receiving a score from the user.If you add a positive number as user_input, you add it to the list, and if y...

1 years ago

1 answers
102 views
0
Error handling

answer = 20while True: try: guess = input(Enter a number bet. 1 and 100: ) If guesses > 100 or guesses < 1: # If entered out of range print(only enter a number 1 and 100) else: if answer ==...

1 years ago

© 2024 OneMinuteCode. All rights reserved.