Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 7 Online
OpenStudy (anonymous):

does anybody know anything about '> ' ? context from sys import argv script, user_name = argv prompt = '> ' print("Hi %r, I'm the %s script" %(user_name, script)) print("I'd like to ask you a few questions.") print("Do you like me, %s?" %user_name) likes = input(prompt)

OpenStudy (anonymous):

Prompt is the value that the prompt will start with when you call input. For instance you could change the last line to: prompt('>') and have the same affect.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!