0

Python Error

I write B=25 C=b+25 They show a error plz help me

29th Aug 2020, 8:10 AM
Hassan Gujjar
Hassan Gujjar - avatar
3 Answers
+ 2
In python b and B are different variables as it is case sensitive. https://www.sololearn.com/learn/Python/2428/
29th Aug 2020, 8:31 AM
v@msi😉
v@msi😉 - avatar
0
I check it and find the error, thanks you all The error is that the string not add in integer, b is string and 25 is integer so the write code B=25 C= int(b) + 25
29th Aug 2020, 10:04 AM
Hassan Gujjar
Hassan Gujjar - avatar
- 1
In lower case it show error
29th Aug 2020, 8:16 AM
Hassan Gujjar
Hassan Gujjar - avatar