input two numbers num1=float(input("Enter the first number ")) num2=float(input("Enter the second number")) print (num1,num2) e=num1+num2 print ("sum",e)
#manipulating the numbers c= num1 2 print ("",c) j=num1num2 print ("sum",j) f=num1%num2 print(f) numbers=float (input("Enter the")) print (numbers ) b=float (input ("Enter numbers")) print (b) jhum=b+numbers print (jhum)
dum=numbers for dum in range(1,10,): dum=dum+1 print (dum) #printing number series
rum=input ("Enterthenj")
#doing operations bin number series rum=b tem=b100 lem=numbers100 youtube=b print ("sum",rum) print ("product", tem) print ("product",lem) print (youtube)
d=b print("*") number=int in [1,2] for num in float (number),: num=num+1 print (num) numy=num-1 print ("*****") #input two more numbers num3= input ("Enter the firstnumber") num4= (input ("Enter the second number ")) print("Enterthe number", num1) print ("Enterthe number", num2 ) #using various types of variable int_gun= float(num1) int_run= float(num2) c= int_gun+int_run d=int_gun *int_gun e=int_gun /int_run
#print the arithmetic sums print (c) print (d) print (e) #numbers numbers =[1,2,3,4,5,6,7,8,9,10] print (numbers) #print numbers pattern num=numbers #print dancing num for num in numbers [0:10]: print (num) #to input the string strlen1=input("ATG") strlen2=("AIR1") lll=str(len(strlen1+strlen2)) #print string print( lll) print (":") #printing customer details def_customer =str(input("customer name"))
def_age = float (input ("Enter the age ")) print (def_customer) print (def_age) #print quantity def_quantity=float(input ("Enter the quantity"))
print (def_quantity) #print price def_price=float(input ("Enter the price ")) input two numbers num1=float(input("Enter the first number ")) num2=float(input("Enter the second number")) print (num1,num2) e=num1+num2 print ("sum",e)
#manipulating the numbers c= num1 2 print ("",c) j=num1num2 print ("sum",j) f=num1%num2 print(f) numbers=float (input("Enter the")) print (numbers ) b=float (input ("Enter numbers")) print (b) jhum=b+numbers print (jhum)
dum=numbers for dum in range(1,10,): dum=dum+1 print (dum) #printing number series
rum=input ("Enterthenj")
#doing operations bin number series rum=b tem=b100 lem=numbers100 youtube=b print ("sum",rum) print ("product", tem) print ("product",lem) print (youtube)
d=b print("*") number=int in [1,2] for num in float (number),: num=num+1 print (num) numy=num-1 print ("*****") #input two more numbers num3= input ("Enter the firstnumber") num4= (input ("Enter the second number ")) print("Enterthe number", num1) print ("Enterthe number", num2 ) #using various types of variable int_gun= float(num1) int_run= float(num2) c= int_gun+int_run d=int_gun *int_gun e=int_gun /int_run
#print the arithmetic sums print (c) print (d) print (e) #numbers numbers =[1,2,3,4,5,6,7,8,9,10] print (numbers) #print numbers pattern num=numbers #print dancing num for num in numbers [0:10]: print (num) #to input the string strlen1=input("ATG") strlen2=("AIR1") lll=str(len(strlen1+strlen2)) #print string print( lll) print (":") #printing customer details def_customer =str(input("customer name"))
def_age = float (input ("Enter the age ")) print (def_customer) print (def_age) #print quantity def_quantity=float(input ("Enter the quantity"))
print (def_quantity) #print price def_price=float(input ("Enter the price ")
print (def_price) def_totalamount=