- 1

Good morning sir. I want to display return print in variable. I have two arguments in print function. variable set to none. Than

Result print set to none. https://code.sololearn.com/cv80ZzWuJ82B/?ref=app

26th Nov 2021, 6:52 AM
Malick Diagne
Malick Diagne - avatar
4 Answers
+ 4
Malick Diagne , we can use f-string like this instead of print: print ("hello","world") variable = f"malick","diagne" print (variable )
26th Nov 2021, 4:51 PM
Lothar
Lothar - avatar
+ 1
Your question is not clear but I hope this helps https://code.sololearn.com/ceE822V7NoLi/?ref=app
26th Nov 2021, 7:21 AM
Richard
Richard - avatar
+ 1
Malick Diagne print function doens't return anything. So it is returning None
26th Nov 2021, 9:02 AM
A͢J
A͢J - avatar
+ 1
Please always tag the language you're asking about. https://code.sololearn.com/W3uiji9X28C1/?ref=app
26th Nov 2021, 2:00 PM
Simon Sauter
Simon Sauter - avatar