+ 2

Python string operations

Bill What is the output of this code >>>(3* ‘7’) it has to be three spaces in python 3

4th Jul 2018, 10:55 PM
Samuel Rothman
Samuel Rothman - avatar
2 Answers
+ 3
As @Tashi N mentioned in this post - https://www.sololearn.com/Discuss/1309860/?ref=app - the answer is 777 as the equation states to print out 7 repeatedly 3 times
4th Jul 2018, 11:56 PM
Faisal
Faisal - avatar
+ 2
thanks
5th Jul 2018, 12:24 AM
Samuel Rothman
Samuel Rothman - avatar