import random
name = input("Enter your last name: ")
w = random.randint(0,len(name)-1)
txt = name[0:w]
txt1 = name[w:]
print(txt1+" "+txt)
I hope this helps!
what are output devices ?
name them​
Answer:
Monitor.
Printer.
Headphones.
Computer Speakers.
Projector.
GPS.
Sound Card.
Video Card.
Explanation: