hi i am getting some error “true is not defined”
can you please help me with it
Python variables and identifiers are case-sensitive. So make sure all the upper case and lowercase letters are typed properly.
In your case,
while true is incorrect format. Correct it to
The correct way to write Boolean true in python is “True”. In your code it is written as “true”.
To correct this error, in command prompt type:
sudo nano temp_sms.py
then press enter and edit line 9 as:
press ctrl+x then type y and press enter
sudo python3 temp_sms.py
you are good to go