Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: simple string & input problem
Post: RE: simple string & input problem

(Jun-23-2019, 02:38 PM)ichabod801 Wrote: height = input('What is your height, {}? '.format(name)) # 56 characters height = input(f'What is your height, {name}? ') # 48 characters height = ...
kungshamji General Coding Help 5 3,676 Jun-23-2019, 03:54 PM
    Thread: simple string & input problem
Post: RE: simple string & input problem

(Jun-23-2019, 11:32 AM)ichabod801 Wrote: The first problem can be done with string formatting: height = input('What is your height, {}? '.format(name))or f string in 3.6+: height = input(f'What is...
kungshamji General Coding Help 5 3,676 Jun-23-2019, 01:49 PM
    Thread: simple string & input problem
Post: simple string & input problem

im building a bmi calculator, very new to programming and i have this problem [spoiler] [python][b]name = input("what's your name ") height = input ("what's your height " + name ) print (height) wei...
kungshamji General Coding Help 5 3,676 Jun-23-2019, 11:04 AM

User Panel Messages

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