Feeds
提问
I can solve this problem by those code but how can i solve this problem by using loop?
error = 1; while error mukim = input('Please select mukim (A = Pulai, B = Tebrau, C = Kota Tinggi): ','s'); switch mu...
4 years 前 | 1 个回答 | 0
1
个回答提问
This question related indexing and loop , but i did not get why it need indexing?
%% I dont know why question a not need indexing but question b need, and for question b why i cant change the t to 0:4:24, the...
4 years 前 | 2 个回答 | 0
2
个回答提问
i have create a program that it will loop back if input y , but if user input other value, still will end the program . how can i restricted the value just y and n
i=0;N='y'; while N=='y' area=input('Please select area (kitchen, bathroom or storeroom):','s'); k='kitchen'; b='bathroom'; ...
4 years 前 | 1 个回答 | 0