Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Introduction to if Statement | Python if Statement
/
TEST FREE COURSE
セクション 1.  1
single

single

bookIntroduction to if Statement

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

  1. You have the following string: string = 'codefinity';
  2. Count the length of this string and write the result to the variable len_of_string;
  3. Write if statement that checks for the following condition: if the string length is greater than 7 , print the following text: Codefinity is the best platform to start your career in IT.

Fill in the blanks in the code you've already been given.

Once you've completed this task, click the button below the code to check your solution.

解答

123
age = 20 if age > 18: print('You can vote')
copy

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  1
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt