119k views
1 vote
write a python statement that reads an integer value from the user, converts it to an integer, and stores it in a variable called num.

1 Answer

2 votes

num = int(input("Enter an integer value: "))

User Ferosekhanj
by
7.7k points