0

Pls help me to solve this problem

n = 1 while n <= 20: if n % 2 == 0: print(str(n) + " is even number") else: print(str(n) + " is odd number") n += 1 Pls can someone help me to write a code which will separate between integer number and Float number by using while loop as exact as above code which separated between even number and odd number...... I will be grateful if someone help to solve this question..... thanks.

13th Nov 2020, 10:54 AM
Muhammad Abdulmalik
Muhammad Abdulmalik - avatar
2 Antworten
+ 5
Mustofa Al ameen Mustafa , please do not post a new question in an existing post. Create a new question with your issues in the q&a section. Please put your code there, and also samples of input and output if this is relevant. Thanks!
13th Nov 2020, 3:52 PM
Lothar
Lothar - avatar
- 1
i also have a problem on statistics with python, how to upload a csv file while using pandas. cn u help me out
13th Nov 2020, 11:13 AM
Mustofa Al Ameen Mustafa
Mustofa  Al Ameen  Mustafa - avatar