Generating Natural Numbers Using List Comprehension

# Introduction In this lab, you need to create a program that takes an integer input from the user, uses list comprehension to create a list of natural numbers up to that input, and prints the list.

|
60 : 00

Click the virtual machine below to start practicing