Answer to Question #65212 in Python for Stephen

Question #65212
Write a String constant consisting of exactly 5 exclamation marks
1
Expert's answer
2017-02-13T09:25:24-0500
from collections import namedtuple

Constants=namedtuple('Constants',['exclamation_marks'])
const=Constants(5*'!')
print const.exclamation_marks

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS