Minichan

Topic: import random

Anonymous A started this discussion 8 years ago #73,508

num1 = int(input("Enter an integer: "))
num2 = int(input("Enter a larger integer: "))
num = 0
max_num = random.randint(num1, num2)
while num <= max_num:
num += 1
print(num)

Anonymous B joined in and replied with this 8 years ago, 2 minutes later[^] [v] #875,111

Might have some trouble with negative integers.

Big Daddy Derek !Uvm54ORbmo joined in and replied with this 8 years ago, 4 minutes later, 6 minutes after the original post[^] [v] #875,112

@OPoindexter
Get laid. Thanks.

Anonymous D joined in and replied with this 8 years ago, 1 hour later, 1 hour after the original post[^] [v] #875,129

@875,111 (B)
Incorrect. I tested this and it works fine.
:

Please familiarise yourself with the rules and markup syntax before posting.