
April 12, 2023
7:33 a.m.
Hi, 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 strings and integers. Sincerely yours, Ali.

April 2023
10:06 p.m.
Hi Ali,
In fact make a new type of print command which can print strings and integers.
That's not the curent print implementation which is blocking you for doing what's you're trying to do, but the integer type which refuses to "add" a string to itself. But print can do what you want to do, try: print(x, y) This way print will print 1, then a without trying to 'add' them together. If you're concerned with the space prints adds when given two parameters, you can use: print(x, y, sep='') Hope it helps, bests, -- [Julien Palard](https://mdk.fr)
821
Age (days ago)
821
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ali Mohseni Roodbari
-
Julien Palard