Saved Bookmarks
| 1. |
Highlight the literals in the following program and also predict the output. Mention the types of variables in the program.a=3b='1'c=a-2d=a-ce=“Kathy”f=‘went to party.’g=‘with Sathy’print a,g,e,f,a,g,“,”,d,g,“,”,c,g,“and his”,e,f |
|
Answer» a, c,d = integer b, e,f,g = string Output: 3 with Sathy Kathy, went to party. 3 with Sathy, 2 with Sathy , 1 with Sathy and his Kathy, went to party. |
|