forked from rizwansafi043/Yolo-Opencv-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask.py
More file actions
30 lines (19 loc) · 697 Bytes
/
task.py
File metadata and controls
30 lines (19 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# youtuber = "rizwan"
# print("subscriber to "+youtuber)
# print("Subscriber to {}".format(youtuber))
# print(f"subscriber to {youtuber}")
# adj = input("Adjective: ")
# verb1 = input("Verb: ")
# verb2 = input("Verb: ")
# famous_person = input("Famous person: ")
# maltlib = f"computer progamming is so {adj}! It makes me so excited all the time beacuse \ " \
# f"I love to {verb1}. Stay hydrated and {verb2} like you are {famous_person}!"
# print(maltlib)
import random
def guess(x):
random_number = random.randint(1,x)
guess = 0
while guess != random_number:
guess = int(input(f'Guess a number between 1 and {x}:'))
print(guess)
guess(10)