What are some interesting types of writings, or functions or python thingies that can be used in programs made in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What are some interesting types of writings, or functions or python thingies that can be used in programs made in python?

I am a beginner in python but I really want to improve in making programs, until now I only know how to use a little bit of while loops, am a bit bad with for loops, am good with ifs, elifs, and elses. Thanks for your help.

19th Mar 2017, 5:36 PM
Annerb
Annerb - avatar
1 Answer
0
keep working on for loops. they are my favorite. very useful. check my codes if you want to see some stuff with simple for loops.. pyramids, arrows, fibanacci.. I once sorted over 5000 files in a directory down to the 1076 I wanted with a for loop. also used a for loop to change 1076 file extensions from .gen to .bin .. for loops are your friend. I use them alow more than I use while loops
19th Mar 2017, 6:24 PM
LordHill
LordHill - avatar