Page 1 of 1

The output of which of the codes shown below will be: “There are 4 blue birds.”?

Posted: Wed Jul 13, 2022 7:44 pm
by answerhappygod
a) ‘There are %g %d birds.’ %4 %blue
b) ‘There are %d %s birds.’ %(4, blue)
c) ‘There are %s %d birds.’ %[4, blue]
d) ‘There are %d %s birds.’ 4, blue