English

Write the corresponding Python assignment statement: Assign the strings ‘Mohandas’, ‘Karamchand’, and ‘Gandhi’ to variables first, middle and last. - Computer Science (Python)

Advertisements
Advertisements

Question

Write the corresponding Python assignment statement:

Assign the strings ‘Mohandas’, ‘Karamchand’, and ‘Gandhi’ to variables first, middle and last.

One Line Answer

Solution

first,middle,last = "Mohandas","Karamchand","Gandhi"
shaalaa.com
Sequence
  Is there an error in this question or solution?
Chapter 5: Getting Started with Python - Exercise [Page 115]

APPEARS IN

NCERT Computer Science [English] Class 11
Chapter 5 Getting Started with Python
Exercise | Q 2. d) | Page 115
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×