Q. Write Python command to display your school name, class, and section, separated by "-".
Answer :-
school = input("Enter Your School Name :- ") clas = input ("Enter Your Class :- ") section = input("Enter Your Section :- ") print (school, "-", clas, "-", section)
Output:-
Enter Your School Name :- Path Walla
Enter Your Class :- 11
Enter Your Section :- A
Path Walla - 11 - A
>>>
thanks ya
ReplyDeleteWelcome : )
DeleteI've one doubt in the coding we've to enter our name ???
ReplyDeleteNo, We have to enter school name only. No need to enter your name.
Deletethanks
ReplyDeletethanks
ReplyDeletepoda panni
ReplyDeletenot good
ReplyDeletetoo bad
not suitable
better than java
Can i use the 'sep' keyword for seperating school, class and division
ReplyDeleteeda mone
ReplyDeletepaithiyam
loosu payalugala
velayap parunga da
gobaragiri babu
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )