As I mentioned this is something which I started recently and yes handing data is tricky, not knowing what to use ? When to use? Is like stuck ina deadend. Getting the output without knowing the process is what the problem is.
Whenever you are not satisfied with the answer given by ChatGPT.
Do two things :
1) Use Better Prompt
2) Use Think Longer -> It will increase the efficiency of the output.
Those who r follow nofab i know u all guy's knows the benefit very well, i genuinely knowing to all of them who wanna share it .
Plzz mentioned ur journey nd benefits below 👇
Question: What is the output of the following Kotlin code snippet?
fun main() {
val list = mutableListOf(1, 2, 3, 4, 5)
val result = list.fold(5) { acc, num -> acc * num }
println(result)
}
Use the formula
subject + action + environment + art / style + lighting + details
And this image prompt structure give best output for Google gemini 2.5 flash image
go try yourself