Saved Bookmarks
| 1. |
Kritika's computer teacher has given her an assignment to display the names of the fruits separated with a tab space in phyton. Which seperator she should use with the print () function? |
|
Answer» Answer: She should USE \t to seperate it by Tab spaces.It is an ESCAPE sequence in Python . an escape SEQUENCES are attributes that cannot be typed by keyboard,other escape sequences INCLUDES: \n - New line \a - ASCII Bell \t - horizontal tab \v - Vertical tab ..etc Note: Its backslash( ' \ ') not Forward slash (' / ' ) Thanks.. |
|