How to slowly print line of dashes in terminal?
I’m new to python and am trying out some basic while loops in the terminal.
How to use the result of a previous if statement to a next if in python
I am very very new to python. I am using a while loop in python like this:
i want to write a program that give a number as an input while this input is not -1
this program should be in the loop while the input is not -1 if the input is -1,the program should execute the average of inputs. I can’t understand how to use variables and how can i execute the average.