Abdulla Ali
@AbdullaAl5
and if you saw a word ( None ) it will do nothing it will not change anything pls comment if you know how to fix it
Python
Why this error accured
try to input 1 then input 1-11
LINE 187
jameswill22 If you live in the USA and are a panda express restaurants customer, then you should try this panda express survey at https://pandaexpresscomfeedbackss.com/ and win a meal for free. We all know that panda express restaurant is very famous for its fast-food items.1 year ago
RYANTADIPARTHI i think the error is because bu_y is not an integer indice. You should only put integers as [].2 years ago
My math calculator is newer and better than befor
but i suggest you start from 7 until 1
Python
KHZ @AbdullaAl5 There are multiple errors in the program. The first error on line 27 is that you missed a closing bracket on line 25. Next on line 81 the statement should be like this:
print(colored(answer_percentage + '%', 'green'))
Then you added extra indents from line 84 to line 89 so remove 2 spaces from each of these lines. These are all the problems in your code.2 years ago
OldWizard209 You have to do ** not ^. Also you have a problem in your code. If someone enters + , addition becomes True. So the nest time someone inputs maybe - it an invalid literal, addition is still True so then the two numbers inputted get added instead of subtracted. You should do:
if operation == '+' :
num1 = int(input('Enter num1: '))
num2 = int(input('Enter num2: '))
answer_add = (num1 + num2)
print(colored(answer_add, 'green'))
sleep(4)
clear()
Do this with all operations and your progr2 years ago
2d snake game
use the arrows on your keyboard to control the snake
Instructions:
write :
S for square
R for rectangle
T for triangle
C for circle
Use These letters in upper case
Python
I have edited the calculator
subtraction
addition
multiplication
/ division
** exponent
Python