+ 1

How can I input for calculations

pyrhon

5th Nov 2021, 1:12 AM
Wunder
Wunder - avatar
4 Respuestas
+ 5
5th Nov 2021, 2:35 AM
Mohamed Aazir Abdul Hathi
Mohamed Aazir Abdul Hathi - avatar
+ 4
You can use input() to get value from users
5th Nov 2021, 2:12 AM
Mohamed Aazir Abdul Hathi
Mohamed Aazir Abdul Hathi - avatar
+ 3
Wunder inputting integers or floats in python is as simple as x = int(input()) # integer y = float(input()) #float The one mentioned by Mohamed Aazir Abdul Hathi is actually for strings
5th Nov 2021, 2:32 AM
BroFar
BroFar - avatar
+ 2
Thanks guys...that was really helpful
27th Dec 2021, 9:11 PM
Wunder
Wunder - avatar