For the learning materials prepared for xikz, other students can follow [Xiao Zheng who sells wigs at the village head] on WeChat, and reply to python basics to get articles.
Python entry control structure-loop structure
Level 1 While loop and break statement
partcount = int(input())
electric = int(input())
count = 0
#请在此添加代码,当count < partcount时的while循