Andheri West, Mumbai, India - 400053.
Verified
Details verified of Shubam Chauhan✕
Identity
Education
Know how UrbanPro verifies Tutor details
Identity is verified based on matching the details uploaded by the Tutor with government databases.
Hindi Mother Tongue (Native)
English Proficient
VNIT Pursuing
Bachelor of Technology (B.Tech.)
Andheri West, Mumbai, India - 400053
ID Verified
Education Verified
Phone Verified
Email Verified
Report this Profile
Is this listing inaccurate or duplicate? Any other problem?
Please tell us about the problem and we will fix it.
Class Location
Online (video chat via skype, google hangout etc)
Student's Home
Tutor's Home
Years of Experience in Class 10 Tuition
2
Board
CBSE
CBSE Subjects taught
Science, Mathematics
Taught in School or College
Yes
Teaching Experience in detail in Class 10 Tuition
Two years of experience in teaching
Class Location
Online (video chat via skype, google hangout etc)
Student's Home
Tutor's Home
Years of Experience in Class 11 Tuition
2
Board
CBSE
CBSE Subjects taught
Mathematics, Physics
Experience in School or College
1year experience
Taught in School or College
Yes
Teaching Experience in detail in Class 11 Tuition
2year of teaching experience
1. Which school boards of Class 10 do you teach for?
CBSE
2. Do you have any prior teaching experience?
Yes
3. Which classes do you teach?
I teach Class 10 Tuition and Class 11 Tuition Classes.
4. Do you provide a demo class?
Yes, I provide a paid demo class.
5. How many years of experience do you have?
I have been teaching for 2 years.
Answered on 15/04/2020 Learn Tuition/BTech Tuition
Input:-a list of tuples with two values (order-number: string, total-order-cost: float) each Output:- the updated list of tuples.
Condition: When b < 100, b = b + 10 where b: total-order-cost (product of the price per items and the quantity) for every tuple of (a, b) in the input list. Program: 1) With regular for-loop: # You might use list(input()) to read list from user input. inputList = [('34587',163.8),('98762',284.0),('77226',98.85),('88112',74.97)] outputList = [] for _tuple in inputList: if (_tuple[1] < 100): outputList.append((_tuple[0], _tuple[1]+10)) else: outputList.append((_tuple[0],_tuple[1])) print('Updated List:',outputList)
PS: Since tuples are immutable (cannot change it's value further) in python, we used one more list instead of replacing the given input list itself.
2) With list-comprehension:- inputList = [('34587',163.8),('98762',284.0),('77226',98.85),('88112',74.97)] def getUpdatedList(inputList): return [(ele[0], ele[1]+10) if (ele[1]) < 100 else (ele[0], ele[1]) for ele in inputList] outputList = getUpdatedList(inputTuple) print(outputList) Or simply, print([(ele[0], ele[1]+10) if (ele[1]) < 100 else (ele[0], ele[1]) for ele in inputList])
Feel free to ask me any further questions. enjoy coding.
Answered on 06/04/2020 Learn Tuition
Class Location
Online (video chat via skype, google hangout etc)
Student's Home
Tutor's Home
Years of Experience in Class 10 Tuition
2
Board
CBSE
CBSE Subjects taught
Science, Mathematics
Taught in School or College
Yes
Teaching Experience in detail in Class 10 Tuition
Two years of experience in teaching
Class Location
Online (video chat via skype, google hangout etc)
Student's Home
Tutor's Home
Years of Experience in Class 11 Tuition
2
Board
CBSE
CBSE Subjects taught
Mathematics, Physics
Experience in School or College
1year experience
Taught in School or College
Yes
Teaching Experience in detail in Class 11 Tuition
2year of teaching experience
Answered on 15/04/2020 Learn Tuition/BTech Tuition
Input:-a list of tuples with two values (order-number: string, total-order-cost: float) each Output:- the updated list of tuples.
Condition: When b < 100, b = b + 10 where b: total-order-cost (product of the price per items and the quantity) for every tuple of (a, b) in the input list. Program: 1) With regular for-loop: # You might use list(input()) to read list from user input. inputList = [('34587',163.8),('98762',284.0),('77226',98.85),('88112',74.97)] outputList = [] for _tuple in inputList: if (_tuple[1] < 100): outputList.append((_tuple[0], _tuple[1]+10)) else: outputList.append((_tuple[0],_tuple[1])) print('Updated List:',outputList)
PS: Since tuples are immutable (cannot change it's value further) in python, we used one more list instead of replacing the given input list itself.
2) With list-comprehension:- inputList = [('34587',163.8),('98762',284.0),('77226',98.85),('88112',74.97)] def getUpdatedList(inputList): return [(ele[0], ele[1]+10) if (ele[1]) < 100 else (ele[0], ele[1]) for ele in inputList] outputList = getUpdatedList(inputTuple) print(outputList) Or simply, print([(ele[0], ele[1]+10) if (ele[1]) < 100 else (ele[0], ele[1]) for ele in inputList])
Feel free to ask me any further questions. enjoy coding.
Answered on 06/04/2020 Learn Tuition
Share this Profile
Reply to 's review
Enter your reply*
Your reply has been successfully submitted.
Certified
The Certified badge indicates that the Tutor has received good amount of positive feedback from Students.