My Programming


last week i studied A Byte of Python by Swaroop C H… so, my bro., gave some tasks abt some python programming... that qus.,  are

1)      Generate Random Numbers ;                                                                                                         Duration :  5 min

End user will give input number at the run time. You need to generate random numbers upto that range.

eg : input= 3 , result =[ 23,465,75]

2)       String Handling :

Duration  : 10 min

Get 2 strings at the run time.
* concadinate  those two strings

* find the length of those two string and display it near by those strings.  compare those string length and display with one is longest string.

3)        List :1

Get many students information and store it in List and display in terminal.                      Duration : 15 min

student no, name , age, class, section , address , parent name , address, marks ,  rank

4)         List :2

Get many students information and store it in List and display in terminal.                      Duration : 15 min

student no, name , age, class, section , address , parent name , address, marks ,  rank

If i will give the student name as input , then that students information should display it line by line.

5)       Dictionary:                                                                                                                 Duration : 20 min

Question 4 : Do it using only Dictionary

now, i’m trying to do finish those tasks..

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s