Skip to content

TypeScript code snippet – How to take two inputs in a single line in python?

x, y = input("Enter a two value: ").split()
print("Number of boys: ", x)
print("Number of girls: ", y)
See also  How to not underline links in CSS?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.