mercredi 27 décembre 2017

Randomization exercise in Python 2.7 [on hold]

Write a program that reads from the user the number of patients in the control group and the number of patients in the treatment group. Make sure that the program only accepts nubmers in the range of 0-20. Create a randomization plan and produce output of the form: Patient 1 is assigned to the control group Patient 2 is assigned to the treatment group Patient 3 is assigned to the treatment group and so on..

Do you have any ideas guys how can i solve it in Python???




Aucun commentaire:

Enregistrer un commentaire