- 2
Create a program that will take the first and last name of a person and output the initials.
I just wanna know if this code is correct. First_name = input() Last_name = input() print(f"{First_name[0].upper()} {Last_name}")
5 Respuestas
+ 5
print(f"{First_name[0].upper()}{Last_name[0].upper()}")
+ 1
firstname = input()
lastname = input()
print(firstname[0].upper() + lastname[0].upper())
O/P
abhishek
bachhav
AB
0
first_name = input()
last_name = input()
print(first_name[0] + last_name[0])
- 1
Thanks
- 1
firstname=(input())
lastname=(input())
print( "hello"+" " + firstname +" "+ lastname[(0)])