What am I doing wrong | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
3 Answers
+ 4
you can't import from other codes on SL, but other than that the "phone bill" code has an indentation problem, everything after the break statement should be unindented
6th Jul 2018, 8:24 PM
hinanawi
hinanawi - avatar
+ 3
Kris i suggest having the minutes be a function parameter and you just input it through the phone bill program, that way you can have it be accessible anywhere in the code
6th Jul 2018, 8:44 PM
hinanawi
hinanawi - avatar
+ 1
ya, I'm sorry I should've specified I'm not writing this on SL. I'm having trouble with the minutes. I can input the minutes but can not figure out how to call the input in the main phone bill module.
6th Jul 2018, 8:37 PM
Kris
Kris - avatar