Weak Type Ability for Python

Chris Angelico rosuav at gmail.com
Wed Apr 12 13:11:35 EDT 2023


On Thu, 13 Apr 2023 at 03:05, Ali Mohseni Roodbari
<ali.mohseniroodbari at gmail.com> wrote:
>
> Hi all,
> Please make this command for Python (if possible):
>
> >>> x=1
> >>> y='a'
> >>> wprint (x+y)
> >>> 1a
>
> In fact make a new type of print command which can print and show strings
> and integers together.
>

Try:

print(x, y)

ChrisA


More information about the Python-list mailing list