]> code.communitydata.science - coldcallbot-discord.git/commitdiff
start list at 1 instead of 0
authorBenjamin Mako Hill <mako@atdot.cc>
Tue, 20 Apr 2021 18:26:36 +0000 (11:26 -0700)
committerBenjamin Mako Hill <mako@atdot.cc>
Wed, 5 Jan 2022 02:43:41 +0000 (11:43 +0900)
coldcallbot-manual.py

index 3bb580c2920300c7ee95490053129627ad940834..a4268eadeebefde7128dc9945e1f50ab0d98645b 100755 (executable)
@@ -11,5 +11,5 @@ student_list = cc.preferred_names
 # print out 100 students
 
 for i in range(100):
 # print out 100 students
 
 for i in range(100):
-    print(f"{i}. {cc.coldcall(student_list)} [ ] [ ]\n")
+    print(f"{i + 1}. {cc.coldcall(student_list)} [ ] [ ]\n")
 
 

Community Data Science Collective || Want to submit a patch?