0% found this document useful (0 votes)
9 views5 pages

Python Output Thanu

The document contains various Python scripts that perform different tasks such as calculating student averages, managing a telephone directory, and solving puzzles. Each script prompts the user for input and provides results based on the entered data, including student pass percentages and financial calculations. Overall, the scripts demonstrate basic programming concepts and user interaction.

Uploaded by

dharunmythili
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views5 pages

Python Output Thanu

The document contains various Python scripts that perform different tasks such as calculating student averages, managing a telephone directory, and solving puzzles. Each script prompts the user for input and provides results based on the entered data, including student pass percentages and financial calculations. Overall, the scripts demonstrate basic programming concepts and user interaction.

Uploaded by

dharunmythili
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

==========RESTART: C:/Users/ADMIN/Documents/avg and pass percentage.

py ===========

enter the number of students:2

entering marks for students 1:

enter test1 mark :34

enter test2 mark :56

enter test3 mark :67

best of two test average for student1:61.50

entering marks for students 2:

enter test1 mark :45

enter test2 mark :56

enter test3 mark :56

best of two test average for student2:56.00

/n=========final result============

total students:2

total who passed :2

overall pass percentage :100%

========== RESTART: C:/Users/ADMIN/Documents/money class with [Link]=========

Total money after addition : 180 rupees and 125 paises

Total money after subtraction : 100 rupees and 50 paises

1
Is money1 greater than or equal money2 ? True

============== RESTART: C:/Users/ADMIN/Documents/fibonacci [Link] ==============

enter a positive intreger value for N:7

the 7th fibonacci number is:8

============== RESTART: C:/Users/ADMIN/Documents/string [Link] ==============

Original strings:

python Exercises

python Exercise

Similarity ratio: 0.967741935483871

============= RESTART: C:/Users/ADMIN/Documents/hospital test [Link]=============

enter te name of the test(test1 to test5):test2

enter the test result38.5

test result is normal

========= RESTART: C:/Users/ADMIN/Documents/counting number of [Link]=========

enter the number of students:3

enter the failed subjects(comma-separated):physics,mathematics

2
enter the failed subjects(comma-separated):chemistry

enter the failed subjects(comma-separated):computer science

total number of students who failed in one or more subjects:3

====== RESTART: C:/Users/ADMIN/Documents/telephone directory for [Link] =======

1. Add employee

[Link] employee

[Link]

Enter your choice:1

Enter employee name :Alice

Enter phone numbers(comma-separated):123-456-7890,978-654-3210

1. Add employee

[Link] employee

[Link]

Enter your choice:1

Enter employee name :Bob

Enter phone numbers(comma-separated):555-123-4567,888-978-6543

1. Add employee

[Link] employee

[Link]

Enter your choice:2

3
enter full or partial employee name:Al

Alice:123-456-7890,978-654-3210

1. Add employee

[Link] employee

[Link]

Enter your choice:2

enter full or partial employee name:Bo

Bob:555-123-4567,888-978-6543

1. Add employee

[Link] employee

[Link]

Enter your choice:3

========= RESTART: C:/Users/ADMIN/Documents/average marks using [Link] =========

enter proctee's name:Alice

enter proctee's register number:12345

enter mark1:85

enter mark2:90

enter mark3:88

4
Proctee details:

Name:Alice

Register Number :12345

Average Marks:87.67

============= RESTART: C:\Users\ADMIN\Documents\[Link] =============

Number of students who secured centum in mathematics : 3

===== RESTART: C:/Users/ADMIN/Documents/River croosing puzzle using mul [Link] ======

enter the sequence of moves (F,C,G,N):FCGN

All items are safe!

======== RESTART: C:/Users/ADMIN/Documents/funds required for setting [Link] ========

enter the cost of the computers:2500

enter the cost of furniture:1500

enter the labor cost:800

Approximate total cost for setting up the lab:$4800.00

You might also like