python lab outputs

 python lab programs :




NOTE : IN SOME PLACE WE HAVE MISSED THE LETTER "U" DUE  TO SOME TECHINAL PROBELM PLZ CHECK THEM BEFORE NOTING THEM IN YOUR RECORD OR OBSERVATION 

output:

1. enter your weight :70.2 

after converting kilogram to pound weight 154.44

2. enter 1 st number : 3

enter 2nd number : 7

enter 3nd number : 5

sum of three number : 15.00

average of the numbers : 5.0

3. 8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,69,,62,65,68,71,74,77,80,83,86,89,


4.enter your name chadhuvkomdhi firstuu

how many no of times to print 4  

your name is  chadhuvkomdhi firstuu

your name is chadhuvkomdhi firstuu

your name is chadhuvkomdhi firstuu

your name is chadhuvkomdhi firstuu

5. enter the no of line :3

*

* *

* * *

6. guess the number bewteen 1 and 10 : 6

well guessed 

7. enter the first number : 2.4567

 enter the second number : 2.576

close

8. enter the word chadhuvukomdhi 

string contains vowels

9. enter the string 1:  chadhuvukomdhi 

enter the string 2 : firstuuuu

please enter equal length string 

10. enter the large number to display american 

 conversation : 1000000

10,00,000

11.3x+4y

3*x+4*y

12.(a)

(85,20,45,54,54,32,89,98,98,56,32,56,78,90,76,43,54,54,)

12.(b)

(85,20,45,54,54,32,89,98,98,56,32,56,78,90,76,43,54,54,)

 average of all element in the list : 50.8

12

(c)

(85,20,45,54,54,32,89,98,98,56,32,56,78,90,76,43,54,54)

max: 98

min : 20

12(d):

(85,20,45,54,54,32,89,98,98,56,32,56,78,90,76,43,54,54)

largest number : 98

second largest number : 90

smallest number : 20

second smallest number : 32

13

enter any number : 20 

1 3 4 5 6 3 3 3 35 5 6 7 7 7 5 4 5 5 5 5 

1 3 4 5 6 3 3 3 35 5 6 7 7 7 5 4 5 5 5 5 

14.

1010000 is 4

15. 1 2 3 4 0 

16.

covert to inches 

covert to miles 

convert to yard 

convert to mm

convert to cm 

convert to m 

covert to kilometer 

choose option from the above 

enter the feet 6

feet to meter value - 18.345

17. enter a number - 15.74

sum of digits : 17

18. enter the string 1 : hello 

enter the string2 : olleh

-1

19. number has 6 factor 

20. false

21. 9

22.




23.




26.

100 .00

212.00


27

cost for 4 shoes = 4800

remaining stock: 196

 

cost for 12 shoes = 12960.0

remaining stock: 184

 

cost for 112 shoes = 107520.0

remaining stock: 72

 

cost for 4 shoes = 4800

remaining stock: 196

 

cost for 12 shoes = 12960.0

remaining stock: 184

 

cost for 112 shoes = 107520.0

remaining stock: 72

 

 

28

6:5 minutes

6:5 minutes

1.26 Hors

1:15:20

29

enter feet/inches/cm/mm/km/miles: 12

Feet to Inches value is  144.0

miles to KM is  19.312165054637333

Feet to Yards value is  3.9996

Feet to Miles value is  0.00227268

30.

0.25

243

1

31.

Programmer python  a am I 


Previous Post Next Post