Va salut |
Programtv « Citoyen » 1564387260000
| 0 | ||
z = int(input("Enter range: ")) x = list(str(e) for e in range(1, z) if (e%2==1)) y = list(str(e) for e in range(1, z) if (e%2==0)) print("Odd numbers: ", ', '.join(x)) print("Even Numbers: ", ', '.join(y)) |
Ferdinand « Censeur » 1564426200000
| 0 | ||
nu inteleg |