+ 3

What is use of foo in Python ?

7th Jan 2020, 8:07 PM
Lokesh Jangid
Lokesh Jangid - avatar
2 Answers
+ 8
Foo is a term used by programmers as a placeholder for a value that can change, depending on conditions or on information passed to the program.
7th Jan 2020, 8:31 PM
Ashutosh Sharma
Ashutosh Sharma - avatar
+ 3
foo is often an example function. Example functions are often called foo and bar in a lot of programming languages
7th Jan 2020, 8:11 PM
Jnn - avatar