CodePudding user response:
t1=(1, 2, 'R', 'p y', 'Matlab')
List1=[]
I=0
While iList1. Append (t1) __getitem__ (I))
I +=1
Dict1={}
Li=[' k ', (three, four, five), (1,2,6), 18, 50]
CodePudding user response:
import math
Def compute (r, h) :
S=2 * r * math. H + 2 * PI * r * r * math.
PI?V=math.h PI * r * r * h
The return (S, V)
Print (compute (r=10, h=11))