Methods | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Methods

Can someone please explain to me what Methods are and what they do? Kind of dumb it down for me. Thank you in advance

13th Jan 2022, 10:14 AM
Chidi Dike
Chidi Dike - avatar
1 Answer
+ 2
A method is a code block that contains a series of statements. You can call it to run the code it (run the code inside of it) https://www.sololearn.com/Discuss/48794/?ref=app
13th Jan 2022, 10:39 AM
Bono
Bono - avatar