[Tutor] uplownumpnct.py

dn PythonList at DancesWithMice.info
Fri Dec 29 21:00:22 EST 2023


On 30/12/23 09:43, Ethan Rosenberg wrote:
> Tutor -
> 
> Thank you for the wonderful help you provide to Python programmers!!

Glad you appreciate the help.


> What is syntax error?

Perhaps then, you could help those who help you?
What is the exact error-message received?
If you were to copy-paste same into this message, would it ease the 
work-load?


> sent = 'THIS is the way we wash 1 2 3 , , !'
> 
> lgn = len(sent)
> lgn2 = lgn
> if letter in sent:
>      x=letter.isupper():
>          if x = 1:
>              print('wow!')

What are the rules about 'code-blocks' denoted by indentation?

-- 
Regards,
=dn


More information about the Tutor mailing list