Hi, Im new to the community so please correct my first post if needed. Could anyone explain why the result for A occured compared B's result? Visually its obvious but its hard just interpreting it by words. Any help?
A
RESULT:
RESULT
A
def main(): name = input("enter name: ") for i in name: print(i, end="") main()
RESULT:
Output:enter name: francisco
francisco
Bdef main(): name = input("enter name: ") for i in name: print(name, end="") main()
RESULT
Output:enter name: francisco
franciscofranciscofranciscofranciscofranciscofranciscofranciscofranciscofrancisco