Python Basics Assignment 1
Python Basics Assignment #Q1. n = int(input('put the value the of n :')) r = float(input('put the value the of r :')) p = float(input('put the value the of p :')) print('value of n : ',n) print('value of r : ',r) print('value of p : ',p) A = p * (1 + r / 100) ** n print('value of A = ',A) #Q2. A = int(input('put the value the of A :')) B = int(input('put the value the of A :')) print('value of n : ',A) print('value of r : ',B) Str = f"There are {A} students in the class, with {B} who play at least one sport." print(Str) ##or## print(f"There are {A} students in the class, with {B} who play at least one sport.") #Q3. sample= "It goes without saying, \"Time is Money\", and none can deny it." print(sample) #Q4. import math x = lambda a,b: a//b x(10,3) #Q5. a = int(input('input the value of a : ')) b = int(input('input the value of b : ')) print(...