$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #167

What goes in the blank?

# "7" -> "007"
code = num.____(3, "0")

Answer: rjust (also accepted: rjust, rjust())

rjust pads on the left until the string reaches the width.
Play Problem Solving ▸