Let's say I have n1 ="hi" and n2="yes" .. until n100="kkk" now I want to increment the value of n and print the veriables | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Let's say I have n1 ="hi" and n2="yes" .. until n100="kkk" now I want to increment the value of n and print the veriables

31st May 2019, 6:31 PM
Karzan
6 Answers
31st May 2019, 6:42 PM
Anna
Anna - avatar
+ 2
Thanks is there another way to do this? Seems like fstring workings on python3.6+. I have python 3.5. when I update python to 3.7 I lose my terminal and get so many errors on ubuntu16.04
31st May 2019, 8:28 PM
Karzan
+ 1
karzan I've updated my code and added some more methods
31st May 2019, 8:53 PM
Anna
Anna - avatar
0
Anna Thank you this works. Can you please explain what is the f stands for in your code?
31st May 2019, 7:04 PM
Karzan
0
Perfect, worked. Thanks guys
31st May 2019, 9:12 PM
Karzan