name = input ("what is your name?")
cupcakes = int(input ("How Many Cupcakes did you eat?"))
calories = 300
calMath = (calories * cupcakes)
totalCal = (0)
Create New Folder (name)
While totalCal < calMath
make a new file in new folder with (name+totalCal".txt")
totalCal = (totalCal + calories)
I want this while loop to keep making new files in the new folder until the loop is complete.
cupcakes = int(input ("How Many Cupcakes did you eat?"))
calories = 300
calMath = (calories * cupcakes)
totalCal = (0)
Create New Folder (name)
While totalCal < calMath
make a new file in new folder with (name+totalCal".txt")
totalCal = (totalCal + calories)
I want this while loop to keep making new files in the new folder until the loop is complete.