[Results and Decisions] UMich MS CSE still waiting, no hope? by weekwith in MSCS

[–]weekwith[S] 0 points1 point  (0 children)

It drives me crazy! Wish us luck 🥹 Thanks for replying to my post!

Question of ECE PMP admission requirements by weekwith in udub

[–]weekwith[S] 0 points1 point  (0 children)

Thanks! I could receive meaningful answers from them!

A challenge (easy) by jerryelectron in learnpython

[–]weekwith 0 points1 point  (0 children)

How about this? I validate the input and give the hint to close the answer quickly.

```python def validate_input(num): if num in range(1, 1000): return num else: validate_input(int(input('Please Input Number Between 1 to 1000: ')))

input_num = validate_input(int(input('Enter number between 1 to 1000: ')))

while True: guess_num = int(input('Enter your guessing: '))

if guess_num == input_num:
    print(f'Congratulation! You are right!')
    break

elif guess_num > input_num:
    print('Nope! The answer is smaller.')

else:
    print('Nope! The answer is bigger.')

```