- 2

What wrong

print " \033[31mLocation Tracking\033[0m ".center(105, "#")

26th Apr 2020, 2:34 PM
Akram Barkat
Akram Barkat - avatar
3 Answers
+ 5
Even if you mention python in a tag, this is not a valid python code. What do you expect as outtput? Please give us a sample and tell us, what this code should achieve. Thanks!
26th Apr 2020, 2:45 PM
Lothar
Lothar - avatar
+ 2
Lothar it's perfectly valid python2 code ;) Akram Barkat 1) code playground require python3 code... you must write: print(" \033[31mLocation Tracking\033[0m ".center(105, "#")) 2) but code playground doesn't handle colorated text output ^^
26th Apr 2020, 3:30 PM
visph
visph - avatar
+ 1
what wrong
26th Apr 2020, 2:35 PM
Akram Barkat
Akram Barkat - avatar