+ 3
How to enumerate the output? Thanks for the help!
The output expected to be something like this : 1. T1_88 = "0010000011010101100010100110101001110010101000111010000011000111010101100111100011111111" 2. T1_66 = "001000111010000000001110001100110001111101110111100101000110111011" https://code.sololearn.com/ck8uTmLY000L/?ref=app
6 Antworten
+ 3
Incrementing just means adding a number (called "step") to a variable in each iteration of a loop.
+ 2
ravilnicki yes.
+ 1
You could use a counter variable starting at 1 and increment it after every execution of the print statement. Then you can just add this in your print statement:
str(counter) + ". " +
+ 1
Simon Sauter, can you edit my code given above? I can hardly cope with increments.