Community Profile

photo

CHEE KIN CHUM


Last seen: 2 years ago Active since 2022

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 2 answers | 0

2

answers

Question


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'; ...

2 years ago | 1 answer | 0

1

answer