0
Indentation error in program can you please solve this ?
ch="y" while ch=='y': name= input( 'Enter name:') clas= input ('enter class') print( name) print(clas) print('Want more entry press y:') ch=input("enter your choice y/n") if ch!='y': break print('thanks')
1 ответ
+ 1
ch="y"
while ch=='y':
name= input( 'Enter name:')
clas= input('enter class')
print( name)
print(clas)
print('Want more entry press y:')
ch=input("enter your choice y/n")
if ch!='y':
break
print('thanks')
#same indentation will belong to same block..