Dec-12-2023, 08:38 AM
Hi,
I have a question related to the : sign. I have students taking their first steps in Python. I noticed one of my students use ":" wrong. However the code runs fine.
Thanks
I have a question related to the : sign. I have students taking their first steps in Python. I noticed one of my students use ":" wrong. However the code runs fine.
print: float(input("Value?"))I was wondering if anyone could clarify what "print:" does. Is it i.e. a label? In assembler this is interpreted as a label for a program location in memory.
Thanks