Python Forum
integer representing a 10-digit phone number
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
integer representing a 10-digit phone number
#5
That is not going to work. Look at the assignment. You will be getting an integer. Input returns a string. The indexing you are using with raise an exception with an integer.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
RE: integer representing a 10-digit phone number - by ichabod801 - May-13-2019, 08:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  list digit into number Voldyy 2 1,615 Jul-10-2022, 06:13 PM
Last Post: deanhystad
  Frequency in first digit from csv file, NO IMPORT bryan0901 6 2,934 May-28-2020, 09:50 AM
Last Post: bryan0901
  Four-digit number text translation. soz 3 2,753 May-13-2019, 03:02 PM
Last Post: buran
  create three digit numbers Krszt 4 4,600 Dec-09-2018, 03:12 PM
Last Post: ThePhi
  Sum of digit in a string MEH012 1 9,570 Apr-20-2018, 02:13 AM
Last Post: Larz60+
  Allow only digit penoxcz 3 3,883 Nov-14-2017, 03:04 PM
Last Post: wavic
  Four digit combinations EHod 4 7,892 Aug-13-2017, 09:14 PM
Last Post: EHod

Forum Jump:

User Panel Messages

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