Python user input ⌨️

Опубликовано: 21 Декабрь 2020
на канале: Bro Code
273,468
8.4k

Python user input tutorial

#python #user #input

name = input("What is your name?: ")
age = int(input("How old are you?: "))
height = float(input("How tall are you?: "))

print("Hello "+name)
print("You are "+str(age)+" years old")
print("You are "+str(height)+"cm tall")

Bro Code merch store: https://teespring.com/stores/bro-code-5

––––––––––––––––––––––––––––––
Up In My Jam (All Of A Sudden) by - Kubbi   / kubbi  
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
Free Download / Stream: http://bit.ly/2JnDfCE
Music promoted by Audio Library    • Up In My Jam (All Of A Sudden) – Kubb...  
––––––––––––––––––––––––––––––