Python Forum
having issues with the int() function
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
having issues with the int() function
#2
int returns the converted value, so it doesn't modify x. You're just throwing away the returned value on line 8, instead of appending it to your list.
Reply


Messages In This Thread
having issues with the int() function - by megu - Sep-23-2020, 02:52 PM
RE: having issues with the int() function - by ndc85430 - Sep-23-2020, 03:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues with Lambda Function fad3r 5 3,865 May-22-2018, 04:13 PM
Last Post: fad3r

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020