infinite tag

2 questions


1 answers
50 views
0
What keywords do you use to express the "infinite" argument in Python?

C usually gives the initial value of min to the maximum value from numeric_limits when solving the algorithm problem. That way, if(min>somval) min = someval will run correctly.By the way, Python dy...

2 years ago

1 answers
47 views
0
Repeat list

import randomQ = int(input('drawing lots!') Please enter a quota.')numbers = list(range(1, Q + 1))R1 = random.choice(numbers)print('{} and''.format.(R1))numbers.remove(R1)R2 = random.choice(numbers)pr...


© 2024 OneMinuteCode. All rights reserved.