3 Réponses
+ 4
Yes it would still work. It just makes it easy to tell where the question ends. TIP: put a space after the : sign to make it look cleaner! 😉
+ 3
Yes, without Colon(:) it works,example link:
# Write your name
# input() for asking to write
print ("Write your name")
''' If don't want to show "Write Your name" please delete it '''
a = input()
#Can show it 2 ways below:
print("Your name is:"+" "+a)
print ("Your name is" + " " + a)
+ 2
Thank you for your answers.