Input output | Sololearn: Learn to code for FREE!

+6

Input output

I need a Python program that uses a function to get input and print out hello with the input and if there is no input it says hello there

9/22/2017 2:07:15 PM

Captain Spartan

18 Answers

New Answer

+4

here is it https://code.sololearn.com/cJlKknefZMoD/?ref=app

+4

https://code.sololearn.com/c8sze9UN0PIB/?ref=app

+3

+3

GM all of you

+3

General Kenobi!

+2

is the function to this correct I have edited your code with mine

+2

+2

+1

to make a function work u need to call it.. see my code again.. in your code there a unused function standing

+1

0

I want to start my career with coding basic , I want to become a game and app developer in future , so which language will be my first basic language and I also want some basic coding course

0

print('Type in your name'); def say_hello(name): print(name) name = input("") if name ==(""): print("hello there") else: print('hello ' + name + "!") https://code.sololearn.com/Wpb8j4aBEmVw/?ref=app

0

Character https://www.sololearn.com/discuss/2704665/?ref=app

0

Answer is. 2

0

printf: Pas de retour à la ligne automatique Ex: printf("Bonjour"); printf("Salut"); Output: BonjourSalut scanf: Retour à la ligne automatique Ex: int a; scanf("%d", &a); //supposons que la valeur entrer est 5 printf("%d", a); Output: //valeur entrer: 5 5

-1

/* hallo */

-1

Hello, why does Google service say that it is not available when we want to output?

-3

kovkjdñjdñdlkjdljdldlkjfjf