i need help
Alicat (3)

hi i need help with this thank you if you could help me thAT WOULD BE AWSON

You are viewing a single comment. View All
chonkybitz (2)

You can take in the data immediately to a variable by changing the structure slightly.

fname = input('Enter name: ')
sname = input('Enter surname: ')
age = int(input('Enter age: ')) # will throw an error if not integer

print('Hello, {}. Your surname is {} and your age is {}.'.format(fname, sname, age))