Python Forum
Built in Functions not working
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Built in Functions not working
#1
Basic built in functions like len(),str(),int() and float() do not work in a text.py file but do in IDLE. Does anyone know why and how to fix this. I'm kind of stuck on this until I can move on to the next task.

len("python")
str(100)
int("1")
float(100)

int("110")
int(20.54)

float("16.4")
float(99)

Results in IDLE:

Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>>
RESTART: C:\Users\mhoneycutt.EMSTEC\AppData\Local\Programs\Python\Python36\test1.py
>>>
Reply


Messages In This Thread
Built in Functions not working - by mhoneycutt83 - Jul-27-2017, 09:02 PM
RE: Built in Functions not working - by sparkz_alot - Jul-27-2017, 09:23 PM
RE: Built in Functions not working - by DeaD_EyE - Jul-27-2017, 09:49 PM
RE: Built in Functions not working - by DeaD_EyE - Jul-28-2017, 07:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  two functions working in a strange way zapad 2 421 May-02-2024, 01:35 PM
Last Post: zapad
  Why built in functions are defined as class? quazirfan 5 3,062 Oct-23-2021, 01:20 PM
Last Post: Gribouillis
  Question about functions(built-in) Jinja2Exploitation 2 2,081 Nov-15-2020, 02:13 PM
Last Post: jefsummers
  Does anyone have unicurses panel functions working on a Windows 10 platform? pjfarley3 0 1,559 Oct-11-2020, 04:41 AM
Last Post: pjfarley3
  Called Functions Not Working WhatAmIDoing09 3 2,779 Jul-12-2019, 07:02 PM
Last Post: ichabod801
  Working on nested functions boxerboy1168 2 2,721 Dec-28-2018, 07:54 AM
Last Post: Gribouillis
  How to retrieve all and only built-in functions from interactive interpreter perfringo 4 3,608 Aug-08-2018, 04:25 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

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