Re: uplownumpnct.py
dn via Tutor <[email protected]> Sat, 30 Dec 2023 15:00:22 +1300
| Newsgroups | gmane.comp.python.tutor |
|---|---|
| Organization | DWM |
| Message-ID | <[email protected]> |
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
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor