Home Input and Print
Reply: 0

Input and Print

user664
1#
user664 Published in May 24, 2018, 4:00 pm

I am trying to get a input to be typed after the "Choice: " but i also want to continue "*" around the whole text... Im not sure how to do it even after trying multiple times with variations and research i couldn't dind an answer...

print("  ********School Quizes********  ")
print("  *                           *  ")
print("  *       A) Register         *  ")
print("  *       B) Loging           *  ")
print("  *       C) Quit             *  ")
print("  *                           *  ")
input("  *                Choice: ") & print(" *  ")

so that it is printed with "Choice:(here will be the input) * "

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.356629 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO