Oct-25-2019, 02:55 PM
I need to provide values to my python script which is asking for the following prompts.
TotalPeople = int(input("Please enter number: "))
Min = int(input("Please enter min value: "))
Max = int(input("Please enter max value: "))
MaxMil = int(input("Please enter max value: "))
MinMil = int(input("Please enter min value: "))
Ms = int(input("Please enter number of Ms: "))
I want to supply the following values in this order only.
30 10 20 15 10 0
30 10 20 15 10 1
30 10 20 15 10 2
30 10 20 15 10 3
30 10 20 15 10 4
29 10 20 15 10 0
29 10 20 15 10 1
29 10 20 15 10 2
29 10 20 15 10 3
29 10 20 15 10 4
28 10 20 15 10 0
................
................
................
1 10 20 15 10 0
1 10 20 15 10 1
1 10 20 15 10 2
1 10 20 15 10 3
1 10 20 15 10 4
How do I do this ?
Thanks
TotalPeople = int(input("Please enter number: "))
Min = int(input("Please enter min value: "))
Max = int(input("Please enter max value: "))
MaxMil = int(input("Please enter max value: "))
MinMil = int(input("Please enter min value: "))
Ms = int(input("Please enter number of Ms: "))
I want to supply the following values in this order only.
30 10 20 15 10 0
30 10 20 15 10 1
30 10 20 15 10 2
30 10 20 15 10 3
30 10 20 15 10 4
29 10 20 15 10 0
29 10 20 15 10 1
29 10 20 15 10 2
29 10 20 15 10 3
29 10 20 15 10 4
28 10 20 15 10 0
................
................
................
1 10 20 15 10 0
1 10 20 15 10 1
1 10 20 15 10 2
1 10 20 15 10 3
1 10 20 15 10 4
How do I do this ?
Thanks