0

This is my question please solve it and reply back to me it is oop related question in python

write a python program in which you are required class name TolaMashaRatti to implement gold weight in a program.Define three different variables in the class to hold data for tola masha and ratti.Add function to this class so user can add and subtract the desire weight.Also write a program to test two input from the user and output it sum and difference.

25th Feb 2018, 1:45 AM
Mohammad Yasir
Mohammad Yasir - avatar
15 Réponses
+ 12
"I won't spend 5 minutes writing your code, but I'll gladly spend an hour fixing it." Very good answer @John!
25th Feb 2018, 1:19 PM
Maz
Maz - avatar
+ 8
This my answer. Write your best guess of your program. Once done, link it here and I'll help you get it running. Your program isn't simple enough for someone here to code it without an decent effort on your part.
25th Feb 2018, 2:14 AM
John Wells
John Wells - avatar
+ 8
I gathered that. But, teachers don't give assignments without knowledge to complete them. You may not get it right, but you need to show effort on your part. I won't spend 5 minutes writing your code, but I'll gladly spend an hour fixing it.
25th Feb 2018, 2:25 AM
John Wells
John Wells - avatar
+ 7
So you don't need us.
25th Feb 2018, 2:19 AM
John Wells
John Wells - avatar
+ 5
Homework, lol?
25th Feb 2018, 1:54 AM
Mickel
Mickel - avatar
+ 4
No, and I probably will not give you an answer that you like. Do not get me wrong, I like to help, but if you do not try it first, I can not do anything. I assure you that many people here can help you and take you in the right direction, but for this it is necessary that you first make an attempt or show us what you have done.
25th Feb 2018, 2:17 AM
Mickel
Mickel - avatar
+ 4
And you must have been taught the information required to make it work.
25th Feb 2018, 2:20 AM
John Wells
John Wells - avatar
+ 3
I don't know what tola, masha, and ratti means. I know nothing about gold weight. But, I can fix anything you can break, if you make me understand what you want.
25th Feb 2018, 2:29 AM
John Wells
John Wells - avatar
+ 2
What Python do you know?
25th Feb 2018, 2:35 AM
John Wells
John Wells - avatar
- 1
I didn't get my mind on question
25th Feb 2018, 2:32 AM
Mohammad Yasir
Mohammad Yasir - avatar
- 2
you have not answer dear
25th Feb 2018, 2:07 AM
Mohammad Yasir
Mohammad Yasir - avatar
- 2
Sir it is easy way.
25th Feb 2018, 2:18 AM
Mohammad Yasir
Mohammad Yasir - avatar
- 2
I need you sir but I have given this code to answer
25th Feb 2018, 2:19 AM
Mohammad Yasir
Mohammad Yasir - avatar
- 2
Sir my teacher has given me this code
25th Feb 2018, 2:21 AM
Mohammad Yasir
Mohammad Yasir - avatar
- 3
Sir please do it for me.
25th Feb 2018, 2:30 AM
Mohammad Yasir
Mohammad Yasir - avatar