I am very confused on how command-line input works, so for practice I was trying to take the following program down below and produce the same information but just by using command-line input, the only problem is I have no idea where to start
def main():
x = (input("Give me a boolean: ").lower() == 'true')
y = str(input("Give me a string: "))
z = int(input("Give me a number: "))
if x == True:
print (y)
print ("\"",y,"\"",sep="")
else:
print (z*2)
main()