Computer Science, asked by shalomsachin1129, 6 months ago

2my_first_name ="John" correct this python statement

Answers

Answered by imtiyazallam
0

Answer:

my_first_name = "John"

Explanation:

Any variable can't have first character as a numer

Answered by anindyaadhikari13
1

\star\:\:\:\sf\large\underline\blue{Question:-}

  • Correct the given python code.

\star\:\:\:\sf\large\underline\blue{Correction:-}

Given code,

2my_first_name="John"

Since, variable names can't start with a number,so the code after correction will be

my_first_name="John"

Similar questions