Hi I wanted to get some help on how I could solve this python problem as I am just a beginner in python.
allow the user to enter their school code and last names and will output their username in the school format (up to 5 letters from their lastname, or 4 if there are any spaces, followed by their school id number)
this is the code I have done so far:
person = input("Enter your last name: ")
school_ID = int(input("Enter your school number: "))
result = 0
for char in txt:
result += 1
Any help in how I should move forward would be much appreciated.